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

0
0

Dear SciChart Team:

My application is a time chart, the X axis is TimeSpan, the Y axis is a value, I want to append points with a fixed X axis length, but my current practice is to fix the number of points.

For example:
TimeSpan is fixed at ten seconds. After points is appended, if TimeSpan exceeds ten seconds, the first point is deleted, and the latest point are retained.

Version
4.2.2.9777
  • You must to post comments
0
0

Hi Johny,

Thanks for your question.
You can set this fixed range as a FifoCapacity property for the DataSeries. Please take a look at the “Fifo (First-In-First-Out) DataSeries” section of our documentation regarding Manipulating DataSeries Data:
https://www.scichart.com/documentation/v5.x/webframe.html#Manipulating%20DataSeries%20Data.html

You can also take a look at our “FIFO (Scrolling) Charts” example:
https://www.scichart.com/example/wpf-chart-example-fifo-scrolling-charts/

Please let me know if this helps.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.