Skip to main content

ScatterChartSpotTooltip

Tooltip configuration for the ScatterChartSpot.

Inherits: ChartDataPointTooltip

Properties

  • bottom_margin - The bottom space from the spot.
  • text - The text to display in the tooltip.

Methods

  • copy - Returns a copy of this object with the specified properties overridden.

Properties

bottom_marginclass-attributeinstance-attribute

bottom_margin: Number = 8

The bottom space from the spot.

textclass-attributeinstance-attribute

text: Optional[str] = None

The text to display in the tooltip.

When None, defaults to flet_charts.ScatterChartSpot.y.

Methods

copy

copy(text: Optional[str] = None, text_style: Optional[TextStyle] = None, text_align: Optional[TextAlign] = None, text_spans: Optional[list[TextSpan]] = None, rtl: Optional[bool] = None, bottom_margin: Optional[float] = None)

Returns a copy of this object with the specified properties overridden.