TCustomAxisPanel.MaxXValue
 
 
 

All Units  All Classes  Properties, Methods and Events  

TCustomAxisPanel.MaxXValue
TCustomAxisPanel

function MaxXValue(Const 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 ) ;



Send us Help Feedback. Copyright 1995-2013 © by Steema Software. All Rights Reserved.