first , thank Uwe very much !!!!
i don't understand what you said!
this is my code:
{
setAutoReplot(false);
new QTimeScaleDraw(m_TimeScaleFormat));
setAxisScale
(QwtPlot::xBottom,
0,
3600,
300);
setAutoReplot(true);
}
QMainPlot::QMainPlot(QWidget *parent) : QwtPlot(parent)
{
setAutoReplot(false);
setAxisScaleDraw(QwtPlot::xBottom,
new QTimeScaleDraw(m_TimeScaleFormat));
setAxisScale(QwtPlot::xBottom, 0, 3600, 300);
setAutoReplot(true);
}
To copy to clipboard, switch view to plain text mode
i don't know how to put the code"setAxisMaxMajor(QwtPlot::xBottom, 12);" where ?
and , how to implement the slot to QwtPlotZoomer::Zoomed()?
please give me some codes.
Bookmarks