I found FifoCapacity Property for IDataSeries. As wrote in doc “If a value is set, when the point count reaches this value, older points will be discarded”. As I think it is very useful for real-time charts. But maybe you have the similar property (I not found it) which can set DataSeries not in dots but in bound axis values? It will be like axis length. As example, we set this value to 10 and if new added point has X coordinate between [current max X] and [current max X – 10] it will be added. Or if it more then [current max X]. And after adding all values less than [current max X – 10] will be discarded.
Or the best decision FOR ME: not delete values less than [current max X – 10] but just not display chart for them. It will be good for changing “length” property “on fly” or using zoom.
P.S. I completed decision like this to my project but now I thinking what if SciChart has it build-in?
- Fedor Iudin asked 2 weeks ago
- You must login to post comments
Hi Fedor,
Thanks for your inquiry.
Yes, you can achieve the described behavior by using our Category Axes, e.g. CategoryNumericAxis or CategoryDateTimeAxis.
Here you can find more details on the difference between category and value Axis types:
SciChart WPF Documentation – Value Axis vs. Category Axis _ WPF Chart Documentation
You can also find the related example at the following link:
WPF Category Axis vs Value Axis – SciChart
More information regarding Axis types in SciChart can be found here:
SciChart WPF Documentation – Axis Types in SciChart _ WPF Chart Documentation
Kind regards,
Lex,
SciChart Technical Support Engineer
- Lex answered 2 weeks ago
- You must login to post comments
Please login first to submit.