TChartValueList.MaxValue

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 XValues, YValues, etc.

Calling
the protected TChartValueList.RecalcMinMax method or setting the public Modified boolean variable forces to recalculate MaxValue, MinValue, Total and 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.