Skip to content

CandlestickChartSpot

Inherits: BaseControl

Represents a candlestick rendered on a CandlestickChart.

Properties

Properties#

close instance-attribute #

close: Number

The close value of the candlestick.

high instance-attribute #

high: Number

The high value of the candlestick.

low instance-attribute #

low: Number

The low value of the candlestick.

open instance-attribute #

open: Number

The open value of the candlestick.

selected class-attribute instance-attribute #

selected: bool = False

Whether to treat this candlestick as selected.

show_tooltip class-attribute instance-attribute #

show_tooltip: bool = True

Whether the tooltip should be shown when this candlestick is highlighted.

tooltip class-attribute instance-attribute #

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

Tooltip configuration for this candlestick.

x instance-attribute #

x: Number

The position of the candlestick on the X axis.