Image_Graph_Axis_Y::valueToPixelRelative()

Image_Graph_Axis_Y::valueToPixelRelative() -- Calculate relative position for a value on the axis

Synopsis

require_once '/Graph/Elements.php';

void Image_Graph_Axis_Y::valueToPixelRelative (float $value)

Description

The value returned by this function is in pixel-coordinates and relative to the upper-left corner of the drawing-area of the graph.

Parameter

float $value

data value

Throws

throws no exceptions thrown

Note

This function can not be called statically.