Column Series Data Point Width Mode
Overview
Not just applicable to Column Series, but also Error Bars Series, Candlestick, Rectangle Series and OHLC Series, the dataPointWidth📘 and dataPointWidthMode📘 properties allow controlling of spacing of bars on a 2D JavaScript Chart.
In previous articles we've shown how dataPointWidth📘 can be used to change the width of bar-style series, for example Columns, Error Bars and Candlesticks/OHLC.
By default, dataPointWidth📘 sets the width of columns/bars as a fraction of available space, with valid values from 0.0 - 1.0.
New to SciChart.js v3.4 and above, a new property dataPointWidthMode📘 has been added. This has values of Absolute, Range and Relative. These define how the dataPointWidth📘 is interpreted on these series types:
EDataPointWidthMode.Absolute📘
Interprets Data Point Width as an absolute pixel value