tooltipInfoFromPointIndex method
Implementation
@override
TooltipInfo? tooltipInfoFromPointIndex(int pointIndex) {
if (segments.isNotEmpty && pointIndex < dataCount) {
return segments[0].tooltipInfo(pointIndex: pointIndex);
}
return null;
}