Skip to content

ScatterChartSpot

Inherits: BaseControl

A spot on a scatter chart.

Properties

Properties#

color class-attribute instance-attribute #

color: ColorValue | None = None

Color of a spot.

label_text class-attribute instance-attribute #

label_text: str = ''

TBD

label_text_style class-attribute instance-attribute #

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

TBD

point class-attribute instance-attribute #

point: bool | ChartPointShape | None = None

TBD

radius class-attribute instance-attribute #

radius: Number | None = None

Radius of a spot.

render_priority class-attribute instance-attribute #

render_priority: Number = 0

Sort by this to manage overlap.

selected class-attribute instance-attribute #

selected: bool = False

Whether to treat this spot as selected.

show_tooltip class-attribute instance-attribute #

show_tooltip: bool = True

Wether to show the tooltip.

tooltip class-attribute instance-attribute #

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

Tooltip configuration for this spot.

visible class-attribute instance-attribute #

visible: bool = True

Determines wether to show or hide the spot.

x class-attribute instance-attribute #

x: Number | None = None

The position of a spot on X axis.

x_error class-attribute instance-attribute #

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 class-attribute instance-attribute #

y: Number | None = None

The position of a spot on Y axis.

y_error class-attribute instance-attribute #

y_error: Any | None = None

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