Image_Graph_Axis::setTickStyle()

Image_Graph_Axis::setTickStyle() -- Set tick-style for ticks on a axis

Synopsis

require_once '/Graph/Elements.php';

void Image_Graph_Axis::setTickStyle (mixed $style)

Description

You can have ticks (lines) that are located on the inside of the graph, on the outside or on both sides. For the x-axis "inside" means above the axis. For the y0-axis "inside" means on the right side of the axis, since in most cases it's located on the left side of the graph. For the y1-axis "inside" means on the left side of the axis, since in most cases it's located on the right side of the graph.

Parameter

mixed $style

use constants IMAGE_GRAPH_TICKS_INSIDE, IMAGE_GRAPH_TICKS_OUTSIDE or IMAGE_GRAPH_TICKS_BOTH

Throws

throws no exceptions thrown

Note

This function can not be called statically.