Hello,
I'm using the following setup. The QCustomPlot is created in a widget and added to it's layout. After creating the plot I set
m_pCustomPlot->setInteraction(QCP::iRangeDrag, true); m_pCustomPlot->setInteraction(QCP::iRangeZoom, true);
to drag the ranges with the mouse and zoom with the mouse wheel.
This works fine except, that my graph disappears everytime I drag or zoom.
I tried to call replot() on the rangeChanged signal, but it doesn't help.
Do I miss something or is this a bug?
Thanks