something like http://www.halliburton.com/public/la...promaxvsp3.jpg

I have tried following code ,but it is not what I want
Qt Code:
  1. void QwtPlotCurveAnteo::fillCurve(QPainter *painter,
  2. const QwtScaleMap &xMap,
  3. const QwtScaleMap &yMap,
  4. const QRectF & canvasRect,
  5. QPolygonF & polygon) const
  6. {
  7. painter->save();
  8. painter->setClipRect(xMap.transform(baseline()),0,100,1000,
  9. Qt::ReplaceClip);
  10.  
  11. QwtPlotCurve::fillCurve(painter, xMap, yMap, canvasRect, polygon);
  12.  
  13. painter->setClipRect(xMap.transform(baseline()),0,100,1000,
  14. Qt::NoClip);
  15. painter->restore();
  16.  
  17. return;
  18. }
To copy to clipboard, switch view to plain text mode