|
QWT API (English) 7.3.0
Qt Widget Library for Technical Applications - English API Documentation
|
A sample of the types (x1...xn, y) or (x, y1..yn) More...
#include <qwt_samples.h>
Public Member Functions | |
| 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 Attributes | |
| 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.