CandlestickChartSpot
Inherits: BaseControl
Represents a candlestick rendered on a CandlestickChart.
Properties
-
close(Number) –The close value of the candlestick.
-
high(Number) –The high value of the candlestick.
-
low(Number) –The low value of the candlestick.
-
open(Number) –The open value of the candlestick.
-
selected(bool) –Whether to treat this candlestick as selected.
-
show_tooltip(bool) –Whether the tooltip should be shown when this candlestick is highlighted.
-
tooltip(str | CandlestickChartSpotTooltip) –Tooltip configuration for this candlestick.
-
x(Number) –The position of the candlestick on the X axis.
Properties#
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.