ChartDirector 7.1 (C++ Edition)

ThreeDChart.getXCoor


Usage

int getXCoor(double x, double y, double z) const;

Description

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

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.