Skip to content

ScatterChartSpot

ScatterChartSpot #

Bases: BaseControl

A spot on a scatter chart.

color: Optional[ft.ColorValue] = None #

Color of a spot.

label_style: Optional[ft.TextStyle] = None #

TBD

label_text: Optional[str] = None #

TBD

point: Union[None, bool, ChartPointShape] = None #

TBD

radius: Optional[ft.Number] = None #

Radius of a spot.

render_priority: ft.Number = 0 #

Sort by this to manage overlap.

selected: bool = False #

TBD

show_tooltip: bool = True #

Wether to show the tooltip.

tooltip: ScatterChartSpotTooltip = field(default_factory=lambda: ScatterChartSpotTooltip()) #

Tooltip configuration for this spot.

visible: bool = True #

Determines wether to show or hide the spot.

x: Optional[ft.Number] = None #

The position of a spot on X axis.

x_error: Optional[Any] = None #

Determines the error range of the data point using (FlErrorRange)[https://github.com/imaNNeo/fl_chart/blob/main/repo_files/documentations/base_chart.md#flerrorrange] (which ontains lowerBy and upperValue) for the X axis.

y: Optional[ft.Number] = None #

The position of a spot on Y axis.

y_error: Optional[Any] = None #

Determines the error range of the data point using (FlErrorRange)[https://github.com/imaNNeo/fl_chart/blob/main/repo_files/documentations/base_chart.md#flerrorrange] (which ontains lowerBy and upperValue) for the Y axis.