Image_Graph_Axis_Values::setNumberformat()

Image_Graph_Axis_Values::setNumberformat() -- Set numberformat for numerical values on the axis

Synopsis

require_once '/Graph/Elements.php';

void Image_Graph_Axis_Values::setNumberformat (string $format)

Description

Use this to set the format in which numbers on the axis will be drawn. E.g. you can use it to set a certain number of decimal values or prepend/append text to the numbers. Numbers will be drawn at all "major ticks" on the axis. Note that the "numberformat" is only used if the type of the axis is numerical (linear or at some later step even logarithmic), not if it's a textual axis (x-axis).

Parameter

string $format

sprintf-formatstring

Throws

throws no exceptions thrown

Note

This function can not be called statically.