drawDataLabel method
void
drawDataLabel(
- int index,
- Canvas canvas,
- String dataLabel,
- double pointX,
- double pointY,
- int angle,
- TextStyle style,
override
To customize each data labels.
Implementation
@override
void drawDataLabel(int index, Canvas canvas, String dataLabel, double pointX,
double pointY, int angle, TextStyle style) =>
drawText(canvas, dataLabel, Offset(pointX, pointY), style, angle);