Unsolved Qt chart scroll according to coming data
-
I want to scroll my chart, according to new datas.
Im using the code below but it is too fast. When i change the numbers, chart does not catch the new datas.
Is there any idea for scrolling the my charts according to coming datas?``` chart->scroll(0.15,0); chart->scale(); chart->update(); ```
-
cache your data and use a timer to update your chart at a proper pace.
-
@JoeCFD I have a timer but i used timer for adding values on a chart. is it wrong?
-
@firsnur96 If your data comes too fast, update may not be able to catch up with it. Store the data in a queue and slow down your timer while feeding the data one after another from the queue into your chart.