Pre loader

using Complex types in DataSeries

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

Answered
1
0

Hi,

Is it possible to use non .Net types in a DataSeries?
I need to use complex types like this…

XyDataSeries<DateTime, ComplexTypeObject>

I need to store additional property to a series point, Is it possible? or is there a different way of doing it.

I tried doing it like this

public class DataValue : ISeriesPoint<double>, IComparable 

but it doesn’t work.

Thanks,
Benjamin

  • You must to post comments
Best Answer
0
0

Hi Benjamin,

Not at this time. The reason why is that the DataSeries are heavily processed before drawing, and we like to keep them to simple types for performance reasons.

What you’re hoping to achieve is point-metadata, e.g. tagging a point with more data than just a numeric value. In SciChart v3.x we have a few posts on how to do this here:

It’s also something that we’re actively researching to add natively to the API. Our aim is to provide the flexibility while maintaining performance – not easy, but we think it is possible!

Best regards,
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