10 #ifndef CATEGORYDATASET_H_ 11 #define CATEGORYDATASET_H_ 13 #include <wx/dataset.h> 14 #include <wx/bars/barrenderer.h> 31 virtual double GetValue(
size_t index,
size_t serie) = 0;
38 virtual wxString GetName(
size_t index) = 0;
46 virtual bool HasValue(
size_t index,
size_t serie);
55 virtual double GetX(
size_t index,
size_t serie);
57 virtual double GetY(
size_t index,
size_t serie);
59 virtual size_t GetCount(
size_t serie);
Base class for all renderers.
Dataset for data values in form [category name, value].
virtual bool AcceptRenderer(Renderer *r)
Checks whether renderer is acceptable by this dataset.
virtual double GetX(size_t index, size_t serie)=0
Returns x value at index.
virtual double GetY(size_t index, size_t serie)=0
Returns y value at index.
virtual double GetMaxValue(bool verticalAxis)
Returns maximal value.
virtual size_t GetCount(size_t serie)=0
Returns value count in serie specified by index.
virtual double GetMinValue(bool verticalAxis)
Returns minimal value.
Base class for XY datasets.