ChartDirector 6.0 (C++ Edition)

ThreeDChart.getYCoor


Usage

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

Description

Gets the y 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 y pixel coordinate of the point.