QCustomPlot Discussion and Comments

QCP::iRangeZoom does not work in qmlReturn to overview

hi
I am new to qml and I have implemented this project with one difference
https://www.qcustomplot.com/index.php/support/forum/2451
I add this line to setupPlot method of CustomPlotItem class:

customPlot->setInteractions(QCP::iRangeZoom|QCP::iRangeDrag);
QCP::iRangeDrag works fine in my qml application but QCP::iRangeZoom does not work at all
Please let me know if anyone knows the solution
Thank you

Hello,

This is strange, are you sure you use mouse wheel to zoom?

Also try this - https://github.com/mosolovsa/qmlplot/tree/master - my zoom works in this project