drawDataLabel method
void
drawDataLabel(
- int index,
- Canvas canvas,
- String dataLabel,
- double pointX,
- double pointY,
- int angle,
- TextStyle style,
override
Draws data label text of the appropriate data point in a series.
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);