Hi
Is there a way to change the color or shape of a datapoint according to a metadata tag? or “extra details”?
for example – a regular value is a red ellipse, but when an offline value is received (or any other info that arrived with the datapoint besides x value and y value) i want the datapoint of that (x,y) value to be a cross or a rectangle…
Thanks,
Alex
- litvak.alex asked 12 years ago
- You must login to post comments
Hi Alex,
Just to interject here. The Scatter plot, or PointMarker on line plots are not WPF elements – they are rendered as bitmaps, so control templating is not possible (as yuriy point out).
However, there is another way to achieve what you want in the upcoming v1.5 version. See this article here:
http://http://www.scichart.com/scichart-v1-5-beta-preview-q4-2012/
You will notice we have included a PaletteProvider class to override data-point colours. This works for OHLC, Candlestick and Column charts at present. We’re thinking of a way to extend it to lines, mountain charts and scatter charts.
Alternatively, another way would be to use the new annotations API. Take a look here:
http://http://www.scichart.com/annotations-are-easy/
If your offline data-points were rare it wouldn’t be difficult using this API to overlay a grayed out point or some other marker to demonstrate it to the user.
Regarding v1.5, we’re about 4 weeks off release. Many features are done, but productionising the code is going to take the remainder of the time.
Hope this is helpful!
Andrew
- Andrew Burnett-Thompson answered 12 years ago
- You must login to post comments
Please login first to submit.