SeriesColor and StrokeThickness
Posted by Admin - on 13 February 2019 12:59 PM

Stroke and StrokeThickness

Many of the RenderableSeries share these two styling properties, Stroke and StrokeThickness:

Series only accept a Color (not Brush) for the main series color. The reason for this is we are not rendering WPF UIElements, but using an alternative bitmap rendering engine, which only supports solid colors for lines (Gradients are supported for Fills though).

How Different Series Types interpret SeriesColor

A mapping of what Stroke means for individual RenderableSeries types follows:
Series SeriesColor obeyed?
FastLineRenderableSeries Yes, Line color
FastMountainRenderableSeries Yes, Line color above Area Fill
FastCandlestickRenderableSeries No, use StrokeUp, StrokeDown instead
FastOhlcRenderableSeries No, use StrokeUp, StrokeDown instead
FastColumnRenderableSeries Yes, outline of Column color
FastScatterRenderableSeries No, ignored (see PointMarker API section)
FastBandRenderableSeries Yes, see Stroke as well as StrokeY1 which define the two band line colors
FastErrorBarsRenderableSeries Yes, error bar color
FastBoxPlotRenderableSeries Yes, box plot outline
FastBubbleRenderableSeries No, ignored
FastHeatmapRenderableSeries No, Ignored
StackedColumnRenderableSeries Yes, outline of column color
StackedMountainRenderableSeries Yes, outline of column color

Invisible Series with SeriesColor.Transparent

Setting the Stroke to Transparent will mean that line rendering is skipped for this series. It will still be visible to Hit-Test, AutoRange and to the RolloverModifier though. If you want to hide a series completely, use RenderableSeries.IsVisible.

Further Reading

To learn more about RenderableSeries API in SciChart, please see the following documentation articles:

(2 vote(s))
Not helpful


Not sure where to start? Contact us, we are happy to help!


SciChart Ltd, 16 Beaufort Court, Admirals Way, Docklands, London, E14 9XL. Email: Legal Company Number: 07430048, VAT Number: 101957725