drawHorizontalAxisTooltip method

  1. @protected
void drawHorizontalAxisTooltip(
  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 horizontal axis tooltip with styling and it's position.

Implementation

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