Describes an axis.
More...
#include <ec_plot.h>
wxEcAxis::wxEcAxis |
( |
double |
min = -10.0 , |
|
|
double |
max = 10.0 , |
|
|
double |
step = 2.0 , |
|
|
wxColour |
colour = *wxRED , |
|
|
bool |
visible = true , |
|
|
bool |
showvalues = true |
|
) |
| |
|
inline |
The default constructor.
- Parameters
-
min | The lower limit of the axis. |
max | The upper limit of the axis. |
step | The interval between two graduations. |
colour | The colour of the axis. |
visible | The visibility of the axis. |
showvalues | The visibility of the text of the axis. |
void wxEcAxis::Recalibrate |
( |
| ) |
|
Makes so that a reasonable number of graduations will be displayed.
Resets the MinValue, MaxValue and StepValue to their default value.
void wxEcAxis::Validate |
( |
| ) |
|
Corrects the axis to make it useful without generating unexpected bugs. The call is required when you define an axis from a user's input that you have not checked beforehand.
The size of the arrow on the axis.
wxColour wxEcAxis::Colour |
The font used to display the text.
wxString wxEcAxis::Format |
The format used to display floating values as text.
double wxEcAxis::MaxValue |
The maximal value of the axis.
double wxEcAxis::MinValue |
The minimal value of the axis.
bool wxEcAxis::ShowValues |
The visibility of the text of the axis.
double wxEcAxis::StepValue |
The interval between two graduations.
The visibility of the axis (considered by wxEcPlot).
The documentation for this class was generated from the following files: