API REFERENCE
barStyle
Candlestick / OHLC (): the bar style — candle / ohlc / hlc on a candlestick, ohlc / hlc on type="ohlc".
Definition
| Item | Value |
|---|---|
| JavaScript property | barStyle |
| HTML attribute | bar-style |
| Type | string |
| Default | undefined |
undefined means this property was not explicitly set. The effective value may depend on the chart type and other settings.
Configuration example
// Register sy-ohlc-chart and create the element before configuring it.
chart.barStyle = "ohlc";