drawVerticalAxisLine method
void
drawVerticalAxisLine(
- PaintingContext context,
- Offset offset,
- List<
double> ? dashArray, - Paint paint,
Override this method to customize the vertical line drawing and styling.
Implementation
@protected
void drawVerticalAxisLine(PaintingContext context, Offset offset,
List<double>? dashArray, Paint paint) {
if (parentBox == null) {
return;
}
final Rect plotAreaBounds = parentBox!.paintBounds;
final Offset start = Offset(offset.dx, plotAreaBounds.top);
final Offset end = Offset(offset.dx, plotAreaBounds.bottom);
drawDashes(context.canvas, dashArray, paint, start: start, end: end);
}