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.
- Praween Kumar asked 6 years ago
- You must login to post comments
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
- Yura Khariton answered 6 years ago
- You must login to post comments
Please login first to submit.