curve->setSamples(xValues, yValues, 11);
curve->attach(oParamGraph);
oParamGraph
->setAxisScaleDraw
(QwtPlot::xBottom,
new TimeScaleDraw
(cpuStat.
upTime()));
oParamGraph
->setAxisScale
(QwtPlot::xBottom,
0,
165,
15);
curve->setSamples(xValues, yValues, 11);
curve->attach(oParamGraph);
oParamGraph->setAxisScaleDraw(QwtPlot::xBottom, new TimeScaleDraw(cpuStat.upTime()));
oParamGraph->setAxisScale(QwtPlot::xBottom, 0, 165, 15);
oMyPicker = new QwtPlotPicker(QwtPlot::xBottom, QwtPlot::yLeft, QwtPlotPicker::NoRubberBand, QwtPicker::AlwaysOn, oParamGraph[iCount]->canvas());
To copy to clipboard, switch view to plain text mode
Bookmarks