TTChartOnGetLegendRect

type TTChartOnGetLegendRect = procedure(ASender: TObject; Var Left, Top, Right, Bottom: Integer) of object;

Type Library
TeeChartx

Description
A TTChartOnGetLegendRect event occurs whenever the Chart Legend is going to be displayed.

You can use this event to force an specific Legend position and dimensions.

The Left, Top, Right and Bottom parameters determine the default Legend position and dimensions in screen pixels.

After drawing the Legend, the available Chart space will be decreased to not overlap with Legend unless you set the ILegend.ResizeChart property to False.

When using this event you'll need to use the TTChartOnGetLegendPos event as well, to supply the exact coordinates for each Legend item.