13 #include <wx/axis/labelaxis.h> 36 m_dateFormat = dateFormat;
39 virtual void GetDataBounds(
double &minValue,
double &maxValue)
const;
47 virtual double GetValue(
size_t step);
49 virtual void GetLabel(
size_t step, wxString &label);
51 virtual bool IsEnd(
size_t step);
53 virtual wxSize GetLongestLabelExtent(wxDC &dc);
58 wxString m_dateFormat;
void SetDateFormat(const wxString &dateFormat)
Sets date format for date labels.
An axis for displaying date/time values.
Base class for axes for displaying data labels.
virtual void GetDataBounds(double &minValue, double &maxValue) const =0
Returns data bounds.
virtual void GetLabel(size_t step, wxString &label)=0
Returns label on step.
virtual bool UpdateBounds()=0
Performs axis bounds update after dataset/s change.
virtual bool IsEnd(size_t step)=0
Check whether step is last.
Base class for all datasets (XYDatasets, XYZDatasets, CategoryDatasets, OHLCDatasets, etc).
virtual bool AcceptDataset(Dataset *dataset)=0
Checks whether dataset can be accepted by this axis.
virtual double GetValue(size_t step)=0
Returns value on step.