Comments (2)
touchTooltipData
is the reason.
touchTooltipData: TouchTooltipData(
tooltipBgColor: Colors.blueGrey,
getTooltipItems: (touchedSpots) {
return touchedSpots.map((touchedSpot) {
if (touchedSpot?.spot == null) { return null; } // ***** this is the key code
return TooltipItem('***' + '\n' + touchedSpot.spot.y.toString(), TextStyle(color: Colors.yellow));
}).toList();
}
)
from fl_chart.
fixed in 0.2.0, the problem is that you forgot to set x
in BarChartGroupData, now it is required
from fl_chart.
Related Issues (20)
- I need to get offset extraLines of BarChart when touch it HOT 1
- How can I set the bottom title with the date and interval by time? HOT 1
- PieChart centerSpace disapearing HOT 1
- I can't find how to disable linechart's default animation. HOT 1
- Is the interval of SideTitles invalid for BarChart?
- Line Chart tooltip on only certain lines
- Thorny LineChart HOT 4
- Is there a provision to change size of FlSpot? HOT 1
- TouchedSpotIndicator duplicates when updating chart
- `belowBarData` does not fit the size of the line chart's start and end
- How can I draw a horizntol line from the last dot in LineChart? HOT 1
- PieChart: touched section index is incorrect if some values are zero HOT 1
- ScatterChart: Show label for a spot HOT 1
- sidetitle overloading each others
- 2 ToolTip top & bottom
- Best way to synchronize and show tool tips of an X value across multiple charts HOT 1
- [Feature Request] RadarChartTitle
- How to deal with small section in pie chart?
- Memory leaks after adding `touchCallback` and `checkToShowDot` HOT 4
- preventCurveOverShooting sounds like mitigation rather than solution HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fl_chart.