QwtPlotSeriesItem(3) | Qwt User's Guide | QwtPlotSeriesItem(3) |
QwtPlotSeriesItem - Base class for plot items representing a series of samples.
#include <qwt_plot_seriesitem.h>
Inherits QwtPlotItem, and QwtAbstractSeriesStore.
Inherited by QwtPlotAbstractBarChart, QwtPlotCurve, QwtPlotHistogram, QwtPlotIntervalCurve, QwtPlotSpectroCurve, and QwtPlotTradingCurve.
QwtPlotSeriesItem (const QString
&title=QString())
QwtPlotSeriesItem (const QwtText &title)
virtual ~QwtPlotSeriesItem ()
Destructor. void setOrientation (Qt::Orientation)
Qt::Orientation orientation () const
virtual void draw (QPainter *, const QwtScaleMap &xMap,
const QwtScaleMap &yMap, const QRectF &) const
Draw the complete series. virtual void drawSeries (QPainter *painter,
const QwtScaleMap &xMap, const QwtScaleMap &yMap,
const QRectF &canvasRect, int from, int to) const =0
virtual QRectF boundingRect () const
virtual void updateScaleDiv (const QwtScaleDiv &, const
QwtScaleDiv &)
Update the item to changes of the axes scale division.
virtual void dataChanged ()
dataChanged() indicates, that the series has been changed.
Base class for plot items representing a series of samples.
Constructor
Parameters:
Constructor
Parameters:
Returns:
Note:
Reimplemented from QwtPlotItem.
Reimplemented in QwtPlotTradingCurve, QwtPlotIntervalCurve, QwtPlotHistogram, QwtPlotBarChart, and QwtPlotMultiBarChart.
Draw the complete series.
Parameters:
Implements QwtPlotItem.
Draw a subset of the samples
Parameters:
Implemented in QwtPlotCurve, QwtPlotTradingCurve, QwtPlotIntervalCurve, QwtPlotHistogram, QwtPlotBarChart, QwtPlotMultiBarChart, and QwtPlotSpectroCurve.
Returns:
See also:
Set the orientation of the item.
The orientation() might be used in specific way by a plot item. F.e. a QwtPlotCurve uses it to identify how to display the curve int QwtPlotCurve::Steps or QwtPlotCurve::Sticks style.
See also:
Update the item to changes of the axes scale division. Update the item, when the axes of plot have changed. The default implementation does nothing, but items that depend on the scale division (like QwtPlotGrid()) have to reimplement updateScaleDiv()
updateScaleDiv() is only called when the ScaleInterest interest is enabled. The default implementation does nothing.
Parameters:
See also:
Reimplemented from QwtPlotItem.
Generated automatically by Doxygen for Qwt User's Guide from the source code.
Wed Jan 2 2019 | Version 6.1.4 |