Skip to content

ScatterChartSpot

Inherits: BaseControl

A spot on a scatter chart.

Properties

Properties#

color #

color: ColorValue | None = None

Color of a spot.

label_text #

label_text: str = ''

TBD

label_text_style #

label_text_style: TextStyle = field(
    default_factory=lambda: TextStyle()
)

TBD

point #

point: bool | ChartPointShape | None = None

TBD

radius #

radius: Number | None = None

Radius of a spot.

render_priority #

render_priority: Number = 0

Sort by this to manage overlap.

selected #

selected: bool = False

TBD

show_tooltip #

show_tooltip: bool = True

Wether to show the tooltip.

tooltip #

tooltip: str | ScatterChartSpotTooltip = field(
    default_factory=lambda: ScatterChartSpotTooltip()
)

Tooltip configuration for this spot.

visible #

visible: bool = True

Determines wether to show or hide the spot.

x #

x: Number | None = None

The position of a spot on X axis.

x_error #

x_error: Any | None = None

Determines the error range of the data point using FlErrorRange (which contains lowerBy and upperValue) for the X axis.

y #

y: Number | None = None

The position of a spot on Y axis.

y_error #

y_error: Any | None = None

Determines the error range of the data point using FlErrorRange (which contains lowerBy and upperValue) for the Y axis.