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