|
| static QVector< QPointF > | xySamples (const QwtPlotItem *item) |
| | Extract XY samples from a plot item.
|
| |
| static void | xySamples (const QwtPlotItem *item, QVector< double > &x, QVector< double > &y) |
| | Extract XY samples into separate x and y vectors.
|
| |
| static bool | setXYSamples (QwtPlotItem *item, const QVector< QPointF > &data) |
| | Set XY samples on a plot item.
|
| |
| static bool | setXYSamples (QwtPlotItem *item, const QVector< double > &x, const QVector< double > &y) |
| | Set XY samples from separate x and y vectors.
|
| |
| static QVector< QwtIntervalSample > | intervalSamples (const QwtPlotItem *item) |
| | Extract interval samples from a plot item.
|
| |
| static bool | setIntervalSamples (QwtPlotItem *item, const QVector< QwtIntervalSample > &data) |
| | Set interval samples on a plot item.
|
| |
| static QVector< QwtPoint3D > | xyzSamples (const QwtPlotItem *item) |
| | Extract 3D point samples from a plot item.
|
| |
| static bool | setXyzSamples (QwtPlotItem *item, const QVector< QwtPoint3D > &data) |
| | Set 3D point samples on a plot item.
|
| |
| static QVector< QwtOHLCSample > | ohlcSamples (const QwtPlotItem *item) |
| | Extract OHLC samples from a plot item.
|
| |
| static bool | setOhlcSamples (QwtPlotItem *item, const QVector< QwtOHLCSample > &data) |
| | Set OHLC samples on a plot item.
|
| |
| static QVector< QwtSetSample > | setSamples (const QwtPlotItem *item) |
| | Extract set samples from a plot item.
|
| |
| static bool | setSetSamples (QwtPlotItem *item, const QVector< QwtSetSample > &data) |
| | Set set samples on a plot item.
|
| |
| static QVector< QwtVectorFieldSample > | vectorFieldSamples (const QwtPlotItem *item) |
| | Extract vector field samples from a plot item.
|
| |
| static bool | setVectorFieldSamples (QwtPlotItem *item, const QVector< QwtVectorFieldSample > &data) |
| | Set vector field samples on a plot item.
|
| |
| static QVector< QwtBoxSample > | boxSamples (const QwtPlotItem *item) |
| | Extract box samples from a plot item.
|
| |
| static bool | setBoxSamples (QwtPlotItem *item, const QVector< QwtBoxSample > &data) |
| | Set box samples on a plot item.
|
| |
|
template<typename T > |
| static QVector< T > | samples (const QwtSeriesStore< T > *store) |
| |
|
template<typename T > |
| static QVector< T > | samples (const QwtSeriesStore< T > *store, int from, int to) |
| |
| static QVector< QPointF > | xySamplesInRange (const QwtPlotItem *item, const QRectF &range) |
| | Extract XY samples within a rectangular range.
|
| |
| static QVector< QPointF > | xySamplesInRange (const QwtPlotItem *item, const QPainterPath &range) |
| | Extract XY samples within a path range.
|
| |
| static int | removeSamplesInRange (QwtPlotItem *item, const QRectF &range) |
| | Remove XY samples within a rectangular range.
|
| |
| static int | removeSamplesInRange (QwtPlotItem *item, const QPainterPath &range) |
| | Remove XY samples within a path range.
|
| |
Utility class for reading and writing sample data from QwtPlotItem instances.
QwtPlotDataAccess provides type-safe static methods to extract or set sample data from any QwtPlotItem. The methods use the item's rtti to dispatch to the correct underlying QwtSeriesStore type.
Supported data types:
if (!data.isEmpty()) {
qDebug() << "First point:" << data.first();
}
Definition qwt_clipper.h:41
Base class for items on the plot canvas.
Definition qwt_plot_item.h:85
- See also
- QwtPlotItemInfo, QwtSeriesStore