ChartDirector 7.0 (Java Edition)

ThreeDChart.getYCoor


Usage

public int getYCoor(double x, double y, double z)

Description

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