IAxis.MaxYValue
IAxis

function MaxYValue: Double;

Type Library
TeeChartx

Description
This function returns the calculated Maximum Vertical value for the specified AAxis. AAxis can be Axis.Left or Axis.Right.

Calculated means that the return value will the Maximum value of the Maximum Series Y Values. Only Series with the VerticalAxis equal to AAxis will be considered.

Example [Delphi]:

TChart1.Axis.Left.Automatic := False ;

TChart1.Axis. Left.Maximum := TChart1.MaxYValue(atLeft);

Example [Visual Basic]:

TChart1.Axis.Left.Automatic = False

TChart1.Axis.Left.Maximum = TChart1.Axis.Left.MaxYValue