Hi all. I'm using qwt 5.2.2. I'm trying to make kind of filling area between two lines. Lines can be infinite in horizontal. I'm using DBL_MIN and DBL_MAX.
Lines are inherit from QwtPlotMarker. If my lines are infinite, I create them using setYValue(double), if not - setValue(double, double).
Code for my filling area:
Qt Code:
  1. QwtPlotCurve* fillingAreaCurve = new QwtPlotCurve;
  2.  
  3. fillingAreaCurve->setItemAttribute(QwtPlotItem::Legend, false);
  4. fillingAreaCurve->setStyle(QwtPlotCurve::Lines);
  5. fillingAreaCurve->setPen(QPen(Qt::gray, 1, Qt::SolidLine));
  6. fillingAreaCurve->setBrush(QBrush(QColor(150, 150, 150, 127),Qt::SolidPattern));
  7. fillingAreaCurve->setBaseline(baseline);
  8. fillingAreaCurve->setData(xData, yData, 2);
To copy to clipboard, switch view to plain text mode 

Where xData is array, xData[0] = DBL_MIN, xData[1] = DBL_MAX. After that, i do attach(plot) and replot().
The problem is that my program freeze. I tried to separate them to two areas - from DBL_MIN to 0 and from 0 to DBL_MAX - nothing changed.
Any ideas?

P.S.: Sorry for my horrible English.