So, could you please help to do the same thing with QwtPlotMarker? My idea is in using pen with semitransparent color. How i can draw ending line with QwtPlotMarker?
I coded:
Qt Code:
  1. QwtPlotMarker *marker = new QwtPlotMarker();
  2. QPen pen;
  3. pen.setColor(QColor(150, 150, 150, 127));
  4. marker->setLineStyle(QwtPlotMarker::HLine);
To copy to clipboard, switch view to plain text mode 

So, now, if i'd want to draw infinite filling area, i could calculate pen width and use
Qt Code:
  1. pen.setWidthF(width);
  2. marker->setLinePen(pen);
  3. setYValue(y);
To copy to clipboard, switch view to plain text mode 

and what about ending line? help please