Image_Graph_Axis_Values::setText()

Image_Graph_Axis_Values::setText() -- Set text-labels on axis

Synopsis

require_once '/Graph/Elements.php';

void Image_Graph_Axis_Values::setText (array $texts)

Description

These text-labels will be used (shown) when the axis-type is IMAGE_GRAPH_AXISTYPE_TEXT. The array contains one string per data-column. Multiple lines are possible by using "\n" as separator.

Parameter

array $texts

(array of string) Text-labels

Throws

throws no exceptions thrown

Note

This function can not be called statically.