|
QWT API (中文) 7.3.0
Qt绘图库 - 中文API文档
|
Interface for iterating over an array of boxplot samples 更多...
#include <qwt_series_data.h>
Public 成员函数 | |
| QwtBoxChartData (const QVector< QwtBoxSample > &=QVector< QwtBoxSample >()) | |
| Constructor | |
| virtual QRectF | boundingRect () const override |
| Calculate the bounding rectangle | |
Public 成员函数 继承自 QwtArraySeriesData< QwtBoxSample > | |
| QwtArraySeriesData () | |
| Constructor | |
| QwtArraySeriesData (const QVector< QwtBoxSample > &samples) | |
| Constructor | |
| QwtArraySeriesData (QVector< QwtBoxSample > &&samples) | |
| void | setSamples (const QVector< QwtBoxSample > &samples) |
| Assign an array of samples | |
| void | setSamples (QVector< QwtBoxSample > &&samples) |
| const QVector< QwtBoxSample > | samples () const |
| virtual size_t | size () const override |
| virtual QwtBoxSample | sample (size_t index) const override |
Public 成员函数 继承自 QwtSeriesData< T > | |
| QwtSeriesData () | |
| Constructor | |
| virtual | ~QwtSeriesData () |
| Destructor | |
| virtual void | setRectOfInterest (const QRectF &rect) |
| Set a the "rect of interest" | |
额外继承的成员函数 | |
Protected 属性 继承自 QwtArraySeriesData< QwtBoxSample > | |
| QVector< QwtBoxSample > | m_samples |
| Vector of samples | |
Protected 属性 继承自 QwtSeriesData< T > | |
| QRectF | cachedBoundingRect |
| Can be used to cache a calculated bounding rectangle | |
Interface for iterating over an array of boxplot samples
QwtBoxChartData provides access to QwtBoxSample samples stored in a QVector. Used for box-and-whisker plot statistical data.
| QwtBoxChartData::QwtBoxChartData | ( | const QVector< QwtBoxSample > & | samples = QVector< QwtBoxSample >() | ) |
Constructor
| samples | Samples |
|
overridevirtual |
Calculate the bounding rectangle
The bounding rectangle is calculated once by iterating over all points and is stored for all following requests.
实现了 QwtSeriesData< T >.