10 #ifndef OHLCDATASET_H_ 11 #define OHLCDATASET_H_ 13 #include <wx/xy/xydataset.h> 14 #include <wx/ohlc/ohlcrenderer.h> 49 m_serieName = serieName;
57 virtual OHLCItem *GetItem(
size_t index) = 0;
63 virtual size_t GetCount() = 0;
68 virtual double GetMinValue(
bool verticalAxis);
70 virtual double GetMaxValue(
bool verticalAxis);
72 virtual size_t GetSerieCount();
74 virtual wxString GetSerieName(
size_t serie);
76 virtual size_t GetCount(
size_t serie);
83 virtual time_t GetDate(
size_t index);
86 virtual bool AcceptRenderer(
Renderer *r);
Base class for all renderers.
Open-High-Low-Close datasets base class.
void SetSerieName(const wxString &serieName)
Sets serie name.
Base class for all datasets (XYDatasets, XYZDatasets, CategoryDatasets, OHLCDatasets, etc).
Base class for datasets, with date/time.
Base class for rendering OHLC data.