Skip to content

CandlestickChartSpot

Inherits: BaseControl

Represents a candlestick rendered on a CandlestickChart.

Properties

Properties#

close #

close: Number

The close value of the candlestick.

high #

high: Number

The high value of the candlestick.

low #

low: Number

The low value of the candlestick.

open #

open: Number

The open value of the candlestick.

selected #

selected: bool = False

Whether to treat this candlestick as selected.

show_tooltip #

show_tooltip: bool = True

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

tooltip #

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

Tooltip configuration for this candlestick.

x #

x: Number

The position of the candlestick on the X axis.