TCustomChart.OnClickLegend

TCustomChart.OnClickLegend
TCustomChart

property OnClickLegend: TChartClick;

Unit
Chart

Description
An OnClickLegend event occurs whenever the user clicks onto Chart Legend rectangle.

The Sender parameter specifies the Chart component that originated the event.

The Button, Shift, X and Y parameters determine the mouse button and mouse cursor coordinates at the time the Chart Legend was clicked.