Pre loader

Data Point Template

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

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.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies