Image_Graph_Axis &Image_Graph_Axis(
[int
$type = IMAGE_GRAPH_AXIS_X])
|
|
Image_Graph_Axis [Constructor].
Normally a manual creation should not be necessary, axis are created automatically by the {@see Image_Graph_Plotarea} constructor unless explicitly defined otherwise
Parameters:
void setLabelInterval(
[double
$labelInterval = IMAGE_GRAPH_AXIS_INTERVAL_AUTO])
|
|
Sets an interval for when labels are shown on the axis.
By default AXIS_INTERVAL_AUTO is used, forcing the axis to calculate a approximate best label interval to be used
Overridden in child classes as:
- Image_Graph_Axis_Sequential::setLabelInterval()
- Sets an interval for when labels are shown on the axis.
Parameters:
void showLabel(
int
$value)
|
|
Shows a label for the the specified values.
Allowed values are combinations of:
- IMAGE_GRAPH_LABEL_MINIMUM
- IMAGE_GRAPH_LABEL_ZERO
- IMAGE_GRAPH_LABEL_MAXIMUM
By default none of these are shows on the axis
Parameters: