SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy

We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!

0
0

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

  • You must to post comments
0
0

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

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.