drawVerticalAxisTooltip method

  1. @protected
void drawVerticalAxisTooltip(
  1. PaintingContext context,
  2. Offset position,
  3. String text,
  4. TextStyle style, [
  5. Path? path,
  6. Paint? fillPaint,
  7. Paint? strokePaint,
])

Override this method to customize the vertical axis tooltip with styling and it's position.

Implementation

@protected
void drawVerticalAxisTooltip(
    PaintingContext context, Offset position, String text, TextStyle style,
    [Path? path, Paint? fillPaint, Paint? strokePaint]) {
  _drawTooltipAndLabel(
      context, position, text, style, path, fillPaint, strokePaint);
}