QCustomPlot Discussion and Comments

to prevent flickering caused by the tick mark updateReturn to overview

qcustomplot only updates the axis range when moving the axis, not the scale value, to prevent flickering caused by the tick mark update

I'm sorry but I'm having difficulty understanding what you are observing. QCP replots automatically upon both range drag and scale operations (drag and mouse wheel).

auto xkey= rect->addAxis(QCPAxis::atBottom);
auto yvalue= rect->addAxis(QCPAxis::atLeft);
xkey->setVisible(false);
yvalue->setVisible(false);

graph = plot->addGraph(xkey,  yvalue);

Hope this helps