IAxis.MaxXValue
IAxis
function MaxXValue: Double;
Type Library
TeeChartx
Description
This function returns the calculated Maximum Horizontal value for the specified AAxis. AAxis can be Axis.Top or Axis.Bottom.
Calculated means that the return value will the Maximum value of the Maximum Series X Values. Only Series with the HorizontalAxis equal to AAxis will be considered.
Example [Delphi]:
TChart1.Axis.Bottom.Automatic := False ;
TChart1.Axis.Bottom.Maximum := TChart1.MaxXValue(atBottom);
Example [Visual Basic]:
TChart1.Axis.Bottom.Automatic = False
TChart1.Axis.Bottom.Maximum = TChart1.Axis.Bottom.MaxXValue