Skip to content

ScatterChartTooltip

ScatterChartTooltip #

Configuration of the tooltip for ScatterCharts.

bgcolor #

bgcolor: ColorValue = '#FF607D8B'

The tooltip's background color.

border_radius #

border_radius: BorderRadiusValue | None = None

The tooltip's border radius.

border_side #

border_side: BorderSide | None = None

The tooltip's border side.

fit_inside_horizontally #

fit_inside_horizontally: bool | None = None

Forces the tooltip to shift horizontally inside the chart, if overflow happens.

fit_inside_vertically #

fit_inside_vertically: bool | None = None

Forces the tooltip to shift vertically inside the chart, if overflow happens.

horizontal_alignment #

horizontal_alignment: ChartHorizontalAlignment | None = None

The tooltip's horizontal alignment.

horizontal_offset #

horizontal_offset: Number | None = None

Applies horizontal offset for showing tooltip.

max_width #

max_width: Number | None = None

Restricts the tooltip's width.

padding #

padding: PaddingValue | None = None

Applies a padding for showing contents inside the tooltip.

rotate_angle #

rotate_angle: Number | None = None

The tooltip's rotation angle in degrees.

copy_with #

copy_with(
    *,
    bgcolor: ColorValue | None = None,
    border_radius: BorderRadiusValue | None = None,
    padding: PaddingValue | None = None,
    max_width: Number | None = None,
    rotate_angle: Number | None = None,
    horizontal_offset: Number | None = None,
    horizontal_alignment: ChartHorizontalAlignment
    | None = None,
    border_side: BorderSide | None = None,
    fit_inside_horizontally: bool | None = None,
    fit_inside_vertically: bool | None = None,
) -> ScatterChartTooltip

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