Map your dates into doubles ( f.e number of seconds since some reference point ) and then do the same like in the cpuplot example.
Unfortunately Qwt has no scale engine for Time/Date scales yet, that calculates ticks for months/weeks/days/hours/minutes/seconds depending on the current interval. So if you want to have this you have to do these calculation on your own and set the ticks manually using QwtPlot::setAxisScaleDiv().
HTH,
Uwe




Reply With Quote

Bookmarks