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

0
0

Hi,
Sorry for my understanding but I am trying to achieve a solution where I want to render real time line/bar data on 10ms interval. However, is there a way to cache data max till last 72 hrs and user can drag the chart or Zoom out to check after pausing the graph.

Version
7.0.1
  • You must to post comments
0
0

Hi Praween,

Have you tried to use data series with some FifoCapacity value? In case if you set it to 72 ( hours count ) * 3600 ( amount of seconds in 1 hour ) *100 ( update count per second if data is updated every 10ms ) points then data series can contain only values from last 72hours and older points will be discarded.

final XyDataSeries lineData = sciChartBuilder.newXyDataSeries(Integer.class, Double.class)
    .withFifoCapacity(fifoCapacity)
    .build();

Also I would suggest to take a look on our FIFO chart example which shows how to use this property.

Hope this will help you!

Best regards,
Yura

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

SciChart WPF v6 BETA released! Note pricing/licensing changes are coming. Contact us to beat the rise!Read more
+