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!

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.