Looks like a bug to me - related to the disabled x axis.
A possible workaround is to use the following code:
#if 0
enableAxis(xAxis, false);
#else
// workaround
xAxis_scaleDraw
->enableComponent
(QwtScaleDraw::Ticks,
false);
xAxis_scaleDraw
->enableComponent
(QwtScaleDraw::Labels,
false);
#endif
#if 0
enableAxis(xAxis, false);
#else
// workaround
QwtScaleDraw *scaleDraw = axisScaleDraw( QwtPlot::xBottom );
scaleDraw->enableComponent(QwtScaleDraw::Backbone, false);
xAxis_scaleDraw->enableComponent(QwtScaleDraw::Ticks, false);
xAxis_scaleDraw->enableComponent(QwtScaleDraw::Labels, false);
#endif
To copy to clipboard, switch view to plain text mode
HTH,
Uwe
Bookmarks