ChartDirector 7.1 (.NET Edition)

ThreeDChart.getXCoor


Usage

[C#]public int getXCoor(double x, double y, double z);
[VB]Public Function getXCoor(x As Double, y As Double, z As Double) As Integer

Description

Gets the x pixel coordinate of a point given its x, y and z data values.

This method only accepts numeric values as input. If the axis scale is a date/time scale, and you are using a DateTime value, please use Chart.CTime to convert it to a number.

Note: You must call BaseChart.layout first before calling this method. ChartDirector needs to perform auto-scaling and layout the axis before it can compute pixel coordinates from data values.

Arguments

ArgumentDefaultDescription
x(Mandatory)The x data value of the point.
y(Mandatory)The y data value of the point.
z(Mandatory)The z data value of the point.

Return Value

The x pixel coordinate of the point.