TChartSeries.OnDblClick

TChartSeries.OnDblClick
TChartSeries

property OnDblClick: TSeriesClick;

Unit
TeEngine

Description
An OnDblClick event occurs whenever the user double clicks onto a Chart. The Sender parameter specifies the Chart component that originated the event.

You must cast the Sender parameter to TChart or TDBChart class to use its properties and methods:

(Sender as TChart).Color := clYellow ;

To retrieve if user double clicked onto a Series point, you can use this code:

procedure TForm1.Chart1DblClick(Sender: TObject);
var tmp : Integer;
begin
tmp := BarSeries1.GetCursorValueIndex;

if tmp<>-1 then ...

end;