Contents  All Classes  Index A-Z  All Units


TCustomChartLegend.Clicked
TCustomChartLegend

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

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 ) );



Submit your feedback about this page.

Copyright 1995-2007 © by Steema Software. All Rights Reserved.