Public Member Functions | |
QwtPlotSeriesItem (const QString &title=QString::null) | |
QwtPlotSeriesItem (const QwtText &title) | |
void | setData (const QwtSeriesData< T > &) |
QwtSeriesData< T > & | data () |
const QwtSeriesData< T > & | data () const |
int | dataSize () const |
T | sample (int i) const |
virtual QRectF | boundingRect () const |
virtual void | updateScaleDiv (const QwtScaleDiv &, const QwtScaleDiv &) |
Protected Attributes | |
QwtSeriesData< T > * | d_series |
QRectF QwtPlotSeriesItem< T >::boundingRect | ( | ) | const [inline, virtual] |
Returns the bounding rectangle of the curve data. If there is no bounding rect, like for empty data the rectangle is invalid.
Reimplemented from QwtPlotItem.
Reimplemented in QwtPlotHistogram, and QwtPlotIntervalCurve.
const QwtSeriesData< T > & QwtPlotSeriesItem< T >::data | ( | ) | const [inline] |
QwtSeriesData< T > & QwtPlotSeriesItem< T >::data | ( | ) | [inline] |
int QwtPlotSeriesItem< T >::dataSize | ( | ) | const [inline] |
Return the size of the data arrays
T QwtPlotSeriesItem< T >::sample | ( | int | i | ) | const [inline] |
i | index |
void QwtPlotSeriesItem< T >::setData | ( | const QwtSeriesData< T > & | data | ) | [inline] |
Assign a series of samples
data | Data |
void QwtPlotSeriesItem< T >::updateScaleDiv | ( | const QwtScaleDiv & | , | |
const QwtScaleDiv & | ||||
) | [inline, virtual] |
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()
xScaleDiv | Scale division of the x-axis | |
yScaleDiv | Scale division of the y-axis |
Reimplemented from QwtPlotItem.