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: str | None = None

The text to display in the tooltip.

When None, defaults to ScatterChartSpot.y.

Methods

copy

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

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