ILegend.LastValue
ILegend

property LastValue: Integer;

Type Library
TeeChartx

Description
Returns the Last ValueIndex of the Legend items. Read only property.

Example [Visual Basic]:

MsgBox TChart1.Legend.FirstValue