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 wxCoord ToGraphics(wxDC &dc, int minCoord, int gRange, double value)
Transforms coordinate from data space to graphics space.
virtual void GetLabel(size_t step, wxString &label)
Returns label on step.
virtual bool UpdateBounds()
Performs axis bounds update after dataset/s change.
An axis for displaying and logarithmically scaling numerical data.
virtual double GetValue(size_t step)
Returns value on step.
virtual double BoundValue(double value)
Returns nearest boundary value.
virtual bool IsVisible(double value)
Checks whether data value is visible.
Base class for all datasets (XYDatasets, XYZDatasets, CategoryDatasets, OHLCDatasets, etc).
An axis for displaying and scaling numerical data.
virtual double ToData(wxDC &dc, int minCoord, int gRange, wxCoord g)
Transforms coordinate from graphics space to data space.