TCustomChartLegend.Clicked
 
 
 

All Units  All Classes  Properties, Methods and Events  

TCustomChartLegend.Clicked
TCustomChartLegend

function Clicked(x, y: Integer): Integer; overload;

Unit
Chart

Description
Use Clicked to obtain the Legend index of the clicked legend.

Example

var
tmp : Integer;

tmp:=Chart1.Legend.Clicked( x,y ) ;

if tmp <> -1 then
ShowMessage( 'Clicked legend item: '+Chart1.FormattedLegend( tmp ) );




Send us Help Feedback. Copyright 1995-2013 © by Steema Software. All Rights Reserved.