TChartValueList.MaxValue
TChartValueList
property MaxValue: TChartValue;
Unit
TeEngine
Description
Run-time and read-only.
The MaxValue property returns the highest of all values inside the list.
This applies to all Series lists of values, such as TChartSeries.XValues, TChartSeries.YValues, etc.
Calling the protected TChartValueList.RecalcMinMax method or setting the public Modified boolean variable forces to recalculate TChartValueList.MaxValue, TChartValueList.MinValue, TChartValueList.Total and TChartValueList.TotalABS values.
When new points are added to a Series, a flag is internally set so the first time accesing MaxValue, the result is recalculated. Succesive calls to MaxValue will use an internal variable for speed reasons.