148 LegendNoAttribute = 0x00,
154 LegendShowLine = 0x01,
159 LegendShowSymbol = 0x02,
165 LegendShowBrush = 0x04
198 MinimizeMemory = 0x04,
231 FilterPointsAggressive = 0x10,
236 explicit QwtPlotCurve(
const QString& title = QString() );
241 virtual int rtti() const QWT_OVERRIDE;
252 void setRawSamples( const
double* xData, const
double* yData,
int size );
253 void setRawSamples( const
float* xData, const
float* yData,
int size );
255 void setRawSamples( const
double* yData,
int size );
256 void setRawSamples( const
float* yData,
int size );
258 void setSamples( const
double* xData, const
double* yData,
int size );
259 void setSamples( const
float* xData, const
float* yData,
int size );
261 void setSamples( const
double* yData,
int size );
262 void setSamples( const
float* yData,
int size );
264 void setSamples( const
QVector<
double >& yData );
265 void setSamples( const
QVector<
float >& yData );
267 void setSamples( const
QVector<
double >& xData, const
QVector<
double >& yData );
268 void setSamples( const
QVector<
float >& xData, const
QVector<
float >& yData );
270 void setSamples( const
QVector< QPointF >& );
273 virtual
int closestPoint( const QPointF& pos,
double* dist = NULL ) const;
274 virtual
int adjacentPoint( Qt::Orientation orientation, qreal value ) const;
276 qreal interpolatedValueAt( Qt::Orientation,
double ) const;
278 double minXValue() const;
279 double maxXValue() const;
280 double minYValue() const;
281 double maxYValue() const;
286 void setPen( const QColor&, qreal width = 0.0, Qt::PenStyle = Qt::SolidLine );
287 void setPen( const QPen& );
288 const QPen& pen() const;
290 void setBrush( const QBrush& );
291 const QBrush& brush() const;
293 void setBaseline(
double );
294 double baseline() const;
305 virtual
void drawSeries( QPainter*,
307 const QRectF& canvasRect,
int from,
int to ) const QWT_OVERRIDE;
309 virtual
QwtGraphic legendIcon(
int index, const QSizeF& ) const QWT_OVERRIDE;
315 virtual
void drawCurve( QPainter*,
int style,
317 const QRectF& canvasRect,
int from,
int to ) const;
319 virtual
void drawSymbols( QPainter*, const
QwtSymbol&,
321 const QRectF& canvasRect,
int from,
int to ) const;
323 virtual
void drawLines( QPainter*,
325 const QRectF& canvasRect,
int from,
int to ) const;
327 virtual
void drawSticks( QPainter*,
329 const QRectF& canvasRect,
int from,
int to ) const;
331 virtual
void drawDots( QPainter*,
333 const QRectF& canvasRect,
int from,
int to ) const;
335 virtual
void drawSteps( QPainter*,
337 const QRectF& canvasRect,
int from,
int to ) const;
339 virtual
void fillCurve( QPainter*,
341 const QRectF& canvasRect, QPolygonF& ) const;
343 void closePolyline( QPainter*,
A class representing a text.