Skip to content

ScatterChartSpotTooltip

Inherits: ChartDataPointTooltip

Tooltip configuration for the ScatterChartSpot.

Properties

Methods

  • copy

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

Properties#

bottom_margin class-attribute instance-attribute #

bottom_margin: Number = 8

The bottom space from the spot.

text class-attribute instance-attribute #

text: Optional[str] = None

The text to display in the tooltip.

When None, defaults to 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,
) -> ScatterChartSpotTooltip

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