Trace: » direction

Axis Direction

By default the Image_Graph axis will have the default directions listed below:

Axis type Min. pos. Max. pos.
X Left Right
Y Bottom Top
Sec. Y Bottom Top

It is however possible to change the direction of the axis, so that for example the y axis is ordered from Top to Bottom instead.

FIXME

This is achieved by using the Image_Graph_Axis::setInverted() method, like:

$AxisY =& $Plotarea->getAxis('y');
$AxisY->setInverted(true);
 
image_graph/components/axis/direction.txt · Last modified: 2006/02/22 18:19