Qt chart scroll according to coming data
Unsolved
General and Desktop
-
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(); ```
-
@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.