API REFERENCE

barStyle

Candlestick / OHLC (): the bar style — candle / ohlc / hlc on a candlestick, ohlc / hlc on type="ohlc".

Definition

ItemValue
JavaScript propertybarStyle
HTML attributebar-style
Typestring
Defaultundefined

undefined means this property was not explicitly set. The effective value may depend on the chart type and other settings.

Configuration example

javascript
// Register sy-ohlc-chart and create the element before configuring it.
chart.barStyle = "ohlc";