Contents  All Classes  Index A-Z  All Units


TCustomAxisPanel.MaxXValue
TCustomAxisPanel

function MaxXValue(AAxis: TChartAxis): Double;

Unit
TeEngine

Description
This function returns the calculated Maximum Horizontal value for the specified AAxis. AAxis can be TopAxis or BottomAxis or a Horizontal Custom Axis.

The calculation returns the value of the Maximum value of eligible Series X Values. Only Series with the HorizAxis equal to AAxis will be considered.

Example

Chart1.BottomAxis.Automatic := False ;
Chart1.BottomAxis.Maximum := Chart1.MaxXValue( Chart1.BottomAxis ) ;


Submit your feedback about this page.

Copyright 1995-2007 © by Steema Software. All Rights Reserved.