mardi 22 août 2023

QtChart, how to make mouse wheel zoom

Anyone know, how to make zoom with mouse, like:

plot->setInteraction(QCP::iRangeZoom,true);
plot->setInteraction(QCP::iRangeDrag, true);

Also i want to use QtCharts, but i dont know how to make mouse zoom using the mouse wheel.

Aucun commentaire:

Enregistrer un commentaire