ChartDirector Ver 4.1 (ColdFusion Edition)

XYChart.getXCoor


Usage

getXCoor(v)

Description

Gets the x pixel coordinate of a point given the x data value.

Note: You must call BaseChart.layout first before calling this method. It is because ChartDirector needs to perform auto-scaling and determine the axis scale first before it can compute the coordinates.

For a 3D chart, this method will get the pixel coordinate of the data value on the top surface of the chart. Use Layer.getXCoor to obtain the pixel coordinate of the data value on a particular chart layer.

Arguments

ArgumentDefaultDescription
v(Mandatory)The x data value.

Return Value

The x coordinate of the x data value.