TCustomAxisPanel.GetMaxValuesCount

TCustomAxisPanel.GetMaxValuesCount
TCustomAxisPanel

function GetMaxValuesCount: Integer;

Unit
TeEngine

Description

This function returns the number of points of the Series with larger number of points.
Only Series that are Active (visible) are considered.

For example, if Series1 has 20 points, and Series2 has 50 points, and both are visible,
this function returns 50.

Example:

ShowMessage( IntToStr( Chart1.GetMaxValuesCount ) );