10 #ifndef CATEGORYAXIS_H_
11 #define CATEGORYAXIS_H_
13 #include <wx/axis/labelaxis.h>
27 virtual void GetDataBounds(
double &minValue,
double &maxValue)
const;
35 virtual double GetValue(
size_t step);
37 virtual void GetLabel(
size_t step, wxString &label);
39 virtual bool IsEnd(
size_t step);
41 virtual wxSize GetLongestLabelExtent(wxDC &dc);
44 size_t m_categoryCount;
45 wxString m_longestCategory;
virtual void UpdateBounds()=0
virtual bool IsEnd(size_t step)=0
Definition: labelaxis.h:27
virtual bool AcceptDataset(Dataset *dataset)=0
virtual double GetValue(size_t step)=0
virtual void GetDataBounds(double &minValue, double &maxValue) const =0
Definition: categoryaxis.h:18
virtual void GetLabel(size_t step, wxString &label)=0