10 #ifndef LOGARITHMICNUMBERAXIS_H_INCLUDED
11 #define LOGARITHMICNUMBERAXIS_H_INCLUDED
13 #include <wx/axis/numberaxis.h>
33 void SetLogBase(
double logBase);
38 void EnableLongLabelExponent(
bool enable =
true);
43 virtual wxCoord
ToGraphics(wxDC &dc,
int minCoord,
int gRange,
double value);
48 virtual double ToData(wxDC &dc,
int minCoord,
int gRange, wxCoord g);
51 virtual void GetLabel(
size_t step, wxString& label);
52 virtual double GetValue(
size_t step);
54 double GetMinValue(
Dataset* dataset);
55 double GetMaxValue(
Dataset* dataset);
63 #endif // LOGARITHMICNUMBERAXIS_H_INCLUDED
virtual bool IsVisible(double value)
Definition: axis.cpp:65
virtual double BoundValue(double value)
Definition: axis.cpp:89
virtual wxCoord ToGraphics(wxDC &dc, int minCoord, int gRange, double value)
Definition: axis.cpp:111
virtual double GetValue(size_t step)
Definition: numberaxis.cpp:165
virtual void UpdateBounds()
Definition: numberaxis.cpp:87
virtual double ToData(wxDC &dc, int minCoord, int gRange, wxCoord g)
Definition: axis.cpp:130
Definition: logarithmicnumberaxis.h:18
virtual void GetLabel(size_t step, wxString &label)
Definition: numberaxis.cpp:170
Definition: numberaxis.h:18