Per-Point Colouring of Scatter Charts
Colouring Scatter Points Individually with PaletteProvider
It is possible to override the Scatter series point-marker fill & stroke colour on a per-datapoint basis in SciChart.js using the PaletteProvider API. First we need to create a class that implements the IPointMarkerPaletteProvider interface and return a custom stroke and fill for the pointmarker. Next, we attach to this a XyScatterRenderableSeries.
Find an example below
To use it, apply to the Paletteprovider property on a RenderableSeries:
This results in the following output. Scatter points with a Y-value greater than 0.5 are coloured as Lime green, else the default colour is used.