#include <qwt_series_data.h>

Public Member Functions | |
| virtual QRectF | boundingRect () const |
| Calculate the bounding rectangle. More... | |
| QwtTradingChartData (const QVector< QwtOHLCSample > &=QVector< QwtOHLCSample >()) | |
Public Member Functions inherited from QwtArraySeriesData< QwtOHLCSample > | |
| QwtArraySeriesData () | |
| Constructor. More... | |
| QwtArraySeriesData (const QVector< QwtOHLCSample > &samples) | |
| virtual QwtOHLCSample | sample (size_t index) const |
| const QVector< QwtOHLCSample > | samples () const |
| void | setSamples (const QVector< QwtOHLCSample > &samples) |
| virtual size_t | size () const |
Public Member Functions inherited from QwtSeriesData< QwtOHLCSample > | |
| QwtSeriesData () | |
| Constructor. More... | |
| virtual void | setRectOfInterest (const QRectF &rect) |
| virtual | ~QwtSeriesData () |
| Destructor. More... | |
Additional Inherited Members | |
Protected Attributes inherited from QwtArraySeriesData< QwtOHLCSample > | |
| QVector< QwtOHLCSample > | d_samples |
| Vector of samples. More... | |
Protected Attributes inherited from QwtSeriesData< QwtOHLCSample > | |
| QRectF | d_boundingRect |
| Can be used to cache a calculated bounding rectangle. More... | |
Interface for iterating over an array of OHLC samples
Definition at line 248 of file qwt_series_data.h.
| QwtTradingChartData::QwtTradingChartData | ( | const QVector< QwtOHLCSample > & | samples = QVector<QwtOHLCSample>() | ) |
|
virtual |
Calculate the bounding rectangle.
The bounding rectangle is calculated once by iterating over all points and is stored for all following requests.
Implements QwtSeriesData< QwtOHLCSample >.
Definition at line 340 of file qwt_series_data.cpp.