ChartDirector 7.0 (Python Edition)

Layer.getXCoor


Usage

getXCoor(v)

Description

Gets the x pixel coordinate given the x data value.

Note: This method should be used only after ChartDirector has output the chart image, or after XYChart.layoutAxes, BaseChart.layout or XYChart.packPlotArea has been called. ChartDirector needs to perform auto- scaling and layout the axis before it can convert between pixel coordinates and data values.

Arguments

ArgumentDefaultDescription
v(Mandatory)The x data value.

Return Value

The x pixel coordinate of the x data value.