#include <categoryaxis.h>
Public Member Functions | |
CategoryAxis (AXIS_LOCATION location) | |
virtual void | UpdateBounds () |
Protected Member Functions | |
virtual bool | AcceptDataset (Dataset *dataset) |
virtual double | GetValue (size_t step) |
virtual void | GetLabel (size_t step, wxString &label) |
virtual bool | IsEnd (size_t step) |
virtual wxSize | GetLongestLabelExtent (wxDC &dc) |
virtual void | GetDataBounds (double &minValue, double &maxValue) |
virtual bool CategoryAxis::AcceptDataset | ( | Dataset * | dataset | ) | [protected, virtual] |
Checks whether dataset can be accepted by this axis. Must be implemented by derivative classes. XXX: maybe remove this method later.
dataset | dataset to be checked |
Implements Axis.
virtual void CategoryAxis::GetDataBounds | ( | double & | minValue, | |
double & | maxValue | |||
) | [protected, virtual] |
Returns data bounds.
minValue | output minimal data value | |
maxValue | output maximal data value |
Implements Axis.
virtual void CategoryAxis::GetLabel | ( | size_t | step, | |
wxString & | label | |||
) | [protected, virtual] |
virtual double CategoryAxis::GetValue | ( | size_t | step | ) | [protected, virtual] |
virtual bool CategoryAxis::IsEnd | ( | size_t | step | ) | [protected, virtual] |
Check whether step is last.
step | step |
Implements LabelAxis.
virtual void CategoryAxis::UpdateBounds | ( | ) | [virtual] |
Performs axis bounds update after dataset/s change.
Implements Axis.