Do this....
connect(((QObject*)plot->axisWidget(QwtPlot::xBottom)) , SIGNAL(scaleDivChanged () ), this, SLOT(scaleDivChangedSlot () ));
implement the slot...
void scaleDivChangedSlot ()
{
//restore the scale to what ever you want
}
Do this....
connect(((QObject*)plot->axisWidget(QwtPlot::xBottom)) , SIGNAL(scaleDivChanged () ), this, SLOT(scaleDivChangedSlot () ));
implement the slot...
void scaleDivChangedSlot ()
{
//restore the scale to what ever you want
}
Bookmarks