Hello, everybody,
I have a problem drawing curves with a filled area (QwtPlotCurve::fillCurve). The time needed to draw the drawing method (QwtPainter::drawPolygon) increases rapidly with the data points. Here is a measurement (time to draw; number of data points).

_timer: 7 ms; size: 300
_timer: 22 ms; size: 550
_timer: 36 ms; size: 800
_timer: 65 ms; size: 1050
_timer: 91 ms; size: 1300
_timer: 105 ms; size: 1450

My plot is redrawn every 250 ms and should contain up to 60000 data points if possible.

When I switch to the area plot, I set the following parameters (ADataPlot is derived from QwtPlotCurve, PC_DATA is the index of a curve).

ADataCurve * curve = Curves.value(PC_DATA);
if (curve)
{
QBrush brush;
brush.setStyle(Qt::SolidPattern);
curve->setBrush(brush);
curve->setStyle(QwtPlotCurve::Sticks);
curve->setOrientation(Qt::Vertical);
}

Does anyone know how I can reduce the time I spend drawing? I am grateful for any help!