Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

qwtplotseriesitem(3) [debian man page]

QwtPlotSeriesItem(3)						 Qwt User's Guide					      QwtPlotSeriesItem(3)

NAME
QwtPlotSeriesItem - Class template for plot items representing a series of samples. SYNOPSIS
#include <qwt_plot_seriesitem.h> Inherits QwtPlotAbstractSeriesItem. Public Member Functions QwtPlotSeriesItem (const QString &title=QString::null) QwtPlotSeriesItem (const QwtText &title) virtual ~QwtPlotSeriesItem () void setData (QwtSeriesData< T > *) QwtSeriesData< T > * data () const QwtSeriesData< T > * data () const size_t dataSize () const T sample (int index) const virtual QRectF boundingRect () const virtual void updateScaleDiv (const QwtScaleDiv &, const QwtScaleDiv &) Protected Attributes QwtSeriesData< T > * d_series Detailed Description template<typename T> class QwtPlotSeriesItem< T > Class template for plot items representing a series of samples. Constructor &; Destructor Documentation template<typename T > QwtPlotSeriesItem< T >::QwtPlotSeriesItem (const QString &title = QString::null) [explicit] Constructor Parameters: title Title of the series item template<typename T > QwtPlotSeriesItem< T >::QwtPlotSeriesItem (const QwtText &title) [explicit] Constructor Parameters: title Title of the series item template<typename T > QwtPlotSeriesItem< T >::~QwtPlotSeriesItem () [virtual] Destructor. Member Function Documentation template<typename T > QRectF QwtPlotSeriesItem< T >::boundingRect () const [virtual] Returns: Bounding rectangle of the data. If there is no bounding rect, like for empty data the rectangle is invalid. See also: QwtSeriesData<T>::boundingRect(), QRectF::isValid() Reimplemented from QwtPlotItem. Reimplemented in QwtPlotHistogram, and QwtPlotIntervalCurve. template<typename T > QwtSeriesData< T > * QwtPlotSeriesItem< T >::data () [inline] Returns: the the curve data template<typename T > const QwtSeriesData< T > * QwtPlotSeriesItem< T >::data () const [inline] Returns: the the curve data template<typename T > size_t QwtPlotSeriesItem< T >::dataSize () const Return the size of the data arrays See also: setData() template<typename T > T QwtPlotSeriesItem< T >::sample (intindex) const [inline] Parameters: index Index Returns: Sample at position index template<typename T> void QwtPlotSeriesItem< T >::setData (QwtSeriesData< T > *data) Assign a series of samples Parameters: data Data Warning: The item takes ownership of the data object, deleting it when its not used anymore. template<typename T > void QwtPlotSeriesItem< T >::updateScaleDiv (const QwtScaleDiv &xScaleDiv, const QwtScaleDiv &yScaleDiv) [virtual] Update the rect of interest according to the current scale ranges Parameters: xScaleDiv Scale division of the x-axis yScaleDiv Scale division of the y-axis See also: QwtSeriesData<T>::setRectOfInterest() Reimplemented from QwtPlotItem. Member Data Documentation template<typename T> QwtSeriesData<T>* QwtPlotSeriesItem< T >::d_series [protected] Series. Author Generated automatically by Doxygen for Qwt User's Guide from the source code. Version 6.0.0 Fri Apr 15 2011 QwtPlotSeriesItem(3)

Check Out this Related Man Page

QwtPlotAbstractSeriesItem(3)					 Qwt User's Guide				      QwtPlotAbstractSeriesItem(3)

NAME
QwtPlotAbstractSeriesItem - Base class for plot items representing a series of samples. SYNOPSIS
#include <qwt_plot_seriesitem.h> Inherits QwtPlotItem. Inherited by QwtPlotSeriesItem< T >, QwtPlotSeriesItem< QPointF >, QwtPlotSeriesItem< QwtIntervalSample >, and QwtPlotSeriesItem< QwtPoint3D >. Public Member Functions QwtPlotAbstractSeriesItem (const QString &title=QString::null) QwtPlotAbstractSeriesItem (const QwtText &title) virtual ~QwtPlotAbstractSeriesItem () void setOrientation (Qt::Orientation) Qt::Orientation orientation () const virtual void draw (QPainter *p, const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QRectF &) const virtual void drawSeries (QPainter *painter, const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QRectF &canvasRect, int from, int to) const =0 Detailed Description Base class for plot items representing a series of samples. Constructor &; Destructor Documentation QwtPlotAbstractSeriesItem::QwtPlotAbstractSeriesItem (const QString &title = QString::null) [explicit] Constructor Parameters: title Title of the curve QwtPlotAbstractSeriesItem::QwtPlotAbstractSeriesItem (const QwtText &title) [explicit] Constructor Parameters: title Title of the curve QwtPlotAbstractSeriesItem::~QwtPlotAbstractSeriesItem () [virtual] Destructor. Member Function Documentation void QwtPlotAbstractSeriesItem::draw (QPainter *painter, const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QRectF &canvasRect) const [virtual] Draw the complete series. Parameters: painter Painter xMap Maps x-values into pixel coordinates. yMap Maps y-values into pixel coordinates. canvasRect Contents rect of the canvas Implements QwtPlotItem. virtual void QwtPlotAbstractSeriesItem::drawSeries (QPainter *painter, const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QRectF &canvasRect, intfrom, intto) const [pure virtual] Draw a subset of the samples Parameters: painter Painter xMap Maps x-values into pixel coordinates. yMap Maps y-values into pixel coordinates. canvasRect Contents rect of the canvas from Index of the first point to be painted to Index of the last point to be painted. If to < 0 the curve will be painted to its last point. Implemented in QwtPlotCurve, QwtPlotHistogram, QwtPlotIntervalCurve, and QwtPlotSpectroCurve. Qt::Orientation QwtPlotAbstractSeriesItem::orientation () const Returns: Orientation of the plot item See also: setOrientation() void QwtPlotAbstractSeriesItem::setOrientation (Qt::Orientationorientation) 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: orientation() Author Generated automatically by Doxygen for Qwt User's Guide from the source code. Version 6.0.0 Fri Apr 15 2011 QwtPlotAbstractSeriesItem(3)
Man Page