TContourSeries.MaxYValue

TContourSeries.MaxYValue
TContourSeries

function MaxYValue: Double; override;

Unit
TeeSurfa

Description

ContourSeries1.MaxYValue and MinYValue refer to Contour Y values.

In version 5, this depends on the 2D / 3D setting.

ie.

When the Chart is in 2D mode (Chart1.View3D:=False) then Contour MaxYValue
and MinYValue methods return the Z values minimum and maximum values.

In 3D mode, the behaviour is the same as in version 4 (they refer to Contour Y values).

To remain independent on the above issue, you should use Contour.YValues.MaxValue
and Contour.YValues.MinValue properties.