SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & 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!

Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.

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.