-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Description
Add custom extra dynamic data for FlSpot, then we can easily display the custom information of each data point in LineTouchTooltipData.
For example:
FlSpot(double x, double y, dynamic data);
touchTooltipData: LineTouchTooltipData(
fitInsideHorizontally: true,
fitInsideVertically: true,
getTooltipItems: (List touchedBarSpots) {
return touchedBarSpots.map((touchedSpot) {
dynamic data = touchedSpot.data;
}
}
);
Metadata
Metadata
Assignees
Labels
No labels