How to scroll QChart

134 Views Asked by At

I am creating a plotting application with QCharts.

I have realtime data, so I need to periodically update the chart. I use QCharts::scroll function, but it does not seem to be working. For example scroll(100.0, 0) shifts only 0.84 on the x-axis.

What am I doing wrong ?

Here is documentation for the method: https://doc.qt.io/qt-5/qchart.html#scroll

Thank you very much

0

There are 0 best solutions below