ChartDirector Ver 3.1 (PHP Edition Edition)

Layer.getXCoor


Usage

getXCoor(v)

Description

Get the x coordinate of a point given the x value.

Note that you must call BaseChart.layout first before calling this method. It is because ChartDirector needs to perform auto-scaling and/or confirm the axis scale first before it can compute the coordinates.

Arguments

ArgumentDefaultDescription
v(Mandatory)The x value.

Return Value

The x coordinate of the x value.