Open-High-Low-Close datasets base class.
More...
#include <ohlcdataset.h>
|
wxString | m_serieName |
|
Renderer * | m_renderer |
|
Open-High-Low-Close datasets base class.
Definition at line 31 of file ohlcdataset.h.
virtual bool OHLCDataset::AcceptRenderer |
( |
Renderer * |
r | ) |
|
|
protectedvirtual |
Checks whether renderer is acceptable by this dataset.
TODO: this method must be removed, because acceptable renderer type depends on plot type.
Implements Dataset.
virtual size_t OHLCDataset::GetCount |
( |
| ) |
|
|
pure virtual |
virtual size_t OHLCDataset::GetCount |
( |
size_t |
serie | ) |
|
|
virtual |
Returns value count in serie specified by index.
- Parameters
-
- Returns
- value count
Implements Dataset.
virtual time_t OHLCDataset::GetDate |
( |
size_t |
index | ) |
|
|
virtual |
Returns date/time for specified index.
- Parameters
-
- Returns
- date/time for specified index
Implements DateTimeDataset.
virtual OHLCItem* OHLCDataset::GetItem |
( |
size_t |
index | ) |
|
|
pure virtual |
virtual double OHLCDataset::GetMaxValue |
( |
bool |
vertical | ) |
|
|
virtual |
Returns maximal value.
- Parameters
-
vertical | for datasets with XY coordinates, specifies direction |
- Returns
- maximal value
Implements Dataset.
virtual double OHLCDataset::GetMinValue |
( |
bool |
vertical | ) |
|
|
virtual |
Returns minimal value.
- Parameters
-
vertical | for datasets with XY coordinates, specifies direction |
- Returns
- minimal value
Implements Dataset.
virtual size_t OHLCDataset::GetSerieCount |
( |
| ) |
|
|
virtual |
Returns serie count in this dataset.
- Returns
- serie count
Implements Dataset.
virtual wxString OHLCDataset::GetSerieName |
( |
size_t |
serie | ) |
|
|
virtual |
Returns serie name.
- Parameters
-
- Returns
- serie name
Implements Dataset.
void OHLCDataset::SetSerieName |
( |
const wxString & |
serieName | ) |
|
|
inline |
Sets serie name.
OHLC datasets contains only one serie.
- Parameters
-
Definition at line 47 of file ohlcdataset.h.
The documentation for this class was generated from the following file: