ChartDirector 7.1 (C++ Edition)

ContourLayer.getZAtValue


Usage

double getZAtValue(double x, double y);

Description

Gets the z value at the specify (x, y) data values.

Note: This method should be used only after ChartDirector has output the chart image, or after BaseChart.layout has been called.

Arguments

ArgumentDefaultDescription
x(Mandatory)The x data value.
y(Mandatory)The y data value.

Return Value

The z value at the sepcified (x, y) data coordinate, or NoValue if the point lie outside the contour region.