SciChart.js JavaScript 2D Charts API > PaletteProvider API > TODO Per-Point Colouring of Ohlc Charts
TODO Per-Point Colouring of Ohlc Charts

Colouring Ohlc Bars Individually with PaletteProvider

It is possible to override the OHLC series wick colour on a per-datapoint basis in SciChart.js using the PaletteProvider API. First we need to create a class that implements the IStrokePaletteProvider interface and return a custom stroke. Next, we attach to this a FastOhlcRenderableSeries.

Find an example below