|
QWT API (中文) 7.3.0
Qt绘图库 - 中文API文档
|
A sample of the types (x1...xn, y) or (x, y1..yn) 更多...
#include <qwt_samples.h>
Public 成员函数 | |
| QwtSetSample () | |
| Default constructor | |
| QwtSetSample (double, const QVector< double > &=QVector< double >()) | |
| Constructor with value and set | |
| bool | operator== (const QwtSetSample &other) const |
| Equality comparison operator | |
| bool | operator!= (const QwtSetSample &other) const |
| Inequality comparison operator | |
| double | added () const |
| Return all values of the set added together | |
Public 属性 | |
| double | value |
| value | |
| QVector< double > | set |
| Vector of values associated to value | |
A sample of the types (x1...xn, y) or (x, y1..yn)
Used for set-based samples where one dimension has multiple values. Commonly used for bar charts with multiple bars at each position.
|
inline |
Default constructor
The value is set to 0.0
|
inlineexplicit |
Constructor with value and set
| v | Value |
| s | Set of values |
|
inline |
Return all values of the set added together