TTChartOnGetLegendPos

type TTChartOnGetLegendPos = procedure(ASender: TObject; ItemIndex: Integer; Var X, Y, XColor: Integer) of object;

Type Library
TeeChartx

Description
A TTChartOnGetLegendPos event occurs whenever a Legend item is going to be displayed.

You can used this event to force specific X , Y and / or XColor Legend pixel coordinates.

The Chart component calculates the default X,Y and XColor parameters before calling this event.

The Index parameter corresponds to the specific Legend item number going to be displayed. It can be either an Active Series Title or a Series point index, depending on the ILegend.LegendStyle property.