Hello every one,

First sorry for my bad english but i'll try to be explicit...

I developed an application that creates a graph composed of curves.
I have a series of points that I associate with curves and I read them through

Qt Code:
  1. curve->setStyle(QwtPlotCurve::Lines);
To copy to clipboard, switch view to plain text mode 

I'm using this code

Qt Code:
  1. QwtPlotCurve *curve;
  2. QwtSymbol sym;
  3.  
  4. sym.setStyle(QwtSymbol::Cross);
  5. sym.setPen(couleurCourbe(i));
  6. sym.setSize(5);
  7.  
  8.  
  9.  
  10. curve = new QwtPlotCurve();
  11. curve->setTitle(liste.at(i));
  12. curve->setSymbol(sym);
  13. curve->setPen(couleurCourbe(i));
  14. curve->setStyle(QwtPlotCurve::Lines);
  15. curve->setRenderHint(QwtPlotItem::RenderAntialiased);
To copy to clipboard, switch view to plain text mode 


All pooints are connecting and the last point is connect with the first too.... (as a polygon).

Someone has a trick to disconnect firts and last point ???

Thanks a lot.