13 #include <wx/axis/labelaxis.h>
33 m_tickFormat = tickFormat;
43 if (m_labelCount != labelCount) {
44 m_labelCount = labelCount;
55 if (m_intValues != intValues) {
56 m_intValues = intValues;
66 double GetMultiplier()
const;
72 void SetMultiplier(
double multiplier);
79 void SetFixedBounds(
double minValue,
double maxValue);
86 virtual void GetDataBounds(
double &minValue,
double &maxValue)
const;
92 size_t GetLabelCount()
const;
96 void UpdateTickValues();
101 virtual double GetValue(
size_t step);
103 virtual void GetLabel(
size_t step, wxString &label);
105 virtual bool IsEnd(
size_t step);
107 virtual bool HasLabels();
109 virtual wxSize GetLongestLabelExtent(wxDC &dc);
119 wxString m_tickFormat;
122 double m_labelInterval;
virtual void UpdateBounds()=0
virtual bool IsEnd(size_t step)=0
Definition: labelaxis.h:27
virtual bool AcceptDataset(Dataset *dataset)=0
void SetTickFormat(const wxString &tickFormat)
Definition: numberaxis.h:31
virtual double GetValue(size_t step)=0
void SetLabelCount(size_t labelCount)
Definition: numberaxis.h:41
virtual void GetDataBounds(double &minValue, double &maxValue) const =0
virtual void GetLabel(size_t step, wxString &label)=0
void IntegerValues(bool intValues=true)
Definition: numberaxis.h:53
Definition: numberaxis.h:18