API REFERENCE
volume
Candlestick (): pane adds a volume pane below the price (a feed without volumes gets none); off by default.
Definition
| Item | Value |
|---|---|
| JavaScript property | volume |
| HTML attribute | volume |
| Type | CandlestickVolumeMode |
| Default | undefined |
| Allowed values | off, pane |
undefined means this property was not explicitly set. The effective value may depend on the chart type and other settings.
- CandlestickVolumeMode
Type definition
Configuration example
// Register sy-candlestick-chart and create the element before configuring it.
chart.volume = "off";