Is there any way to have a FastLineRenderableSeries have more than one color?
I have several series sources with a minimum of eight series generate from them. Each source is unique (a file) and each signal (Displacement, Force, etc) is also unique.
To help the user identify which signal is which i’d like to apply something like the color coding used on the wire with a stripe when there are many conductors.
I’d like to use a drawing brush such as:
<DrawingBrush x:Key="DrawingBrush" TileMode="Tile" Viewport="0, 0, 16, 2" ViewportUnits="Absolute" Viewbox="0, 0, 16, 2" ViewboxUnits="Absolute"> <DrawingBrush.Drawing> <DrawingGroup> <GeometryDrawing Brush="Red"> <GeometryDrawing.Geometry> <LineGeometry StartPoint="0,0" EndPoint="7,0" /> </GeometryDrawing.Geometry> <GeometryDrawing.Pen> <Pen Brush="Red" Thickness="4" /> </GeometryDrawing.Pen> </GeometryDrawing> <GeometryDrawing Brush="Black"> <GeometryDrawing.Geometry> <LineGeometry StartPoint="9,0" EndPoint="15,0" /> </GeometryDrawing.Geometry> <GeometryDrawing.Pen> <Pen Brush="Black" Thickness="4" /> </GeometryDrawing.Pen> </GeometryDrawing> </DrawingGroup> </DrawingBrush.Drawing> </DrawingBrush>
But I bet that’s a performance hit and frowned on.
See attach bitmap for artists conception of potential appearance.
Any ideas hints or suggestions?
While SciChart WPF Supports changing the colour of the series on a per-point basis (see PaletteProvider API), and it also supports dashed lines via StrokeDashArray, it does not support applying a custom brush or repeating pattern to the series I’m afraid. We also don’t have plans to add this as yet. As you’ve guessed it’s not an easy thing to do!
Sorry I cannot be more help,
Please login first to submit.