ILegend.FormattedValue
ILegend

function FormattedValue(aSeries, SomeValueIndex: Integer): WideString;

Type Library
TeeChartx

Description
This function returns the corresponding Legend text for the Series ValueIndex point. The Legend.LegendTextStyle property is used to properly format the point values and labels.

FormattedValue Example

This code shows the same text is used to display the Legend 5th item: (point's index starts at zero)

Delphi

ShowMessage( TChart1.Legend.FormattedValueLegend(TChart1.Series[ 0 ],2);

Visual Basic

MsgBox TChart1.Legend.FormattedValue(0, 3)