OHLC 图表以红色(如果开盘值大于收盘值)或绿色显示烛台。使用 LightningChartJS 是否可以为具有相同开盘值和收盘值的条形图设置不同的颜色(如灰色)?目前它以绿色显示。
.setPositiveStyle( (figure) => figure
.setStrokeStyle( (stroke) => stroke.setThickness(2) )
)
.setNegativeStyle( (figure) => figure
.setStrokeStyle( (stroke) => stroke.setThickness(2) )
)