Image_Graph_Axis::setTicksAutoSteps()

Image_Graph_Axis::setTicksAutoSteps() -- Set maximum steps for automatic creation of ticksMajor/ticksMinor

Synopsis

require_once '/Graph/Elements.php';

void Image_Graph_Axis::setTicksAutoSteps ([int $major = NULL [, int $minor = NULL]])

Description

Use this function to set the maximum number of steps for the major/minor ticks that are used if automatic generation of ticks is turned on. If you set your own values for the ticks on the axis this settings will not have an effect. Note that by default the ticks are generated automatically.

Parameter

integer $major

value for steps of ticksMajor (NULL => default of 5 used)

integer $minor

value for steps of ticksMinor (NULL => default of 25 used; at least the minor value)

Throws

throws no exceptions thrown

See

see Image_Graph_Axis::setTicksMinor()

see Image_Graph_Axis::setTicksMajor()

see $_ticksAutoSteps

Note

This function can not be called statically.