Xceed Chart for WinForms v4.4 Documentation
Xceed.Chart.Server.v4.4 Assembly / Xceed.Chart.Server Namespace / ChartServerControl Class / LegendDataItem Event


LegendDataItem Event
The LegendDataItem delegate is invoked when the response type is "HTML Image Map" and the user clicks on a legend item.
Syntax
'Declaration
 
Public Event LegendDataItem As EventHandler
 
'Usage
 
Dim instance As ChartServerControl
Dim handler As EventHandler
 
AddHandler instance.LegendDataItem, handler
Remarks
The ParamMapEventArgs object passed by the delegate contains the following parameters: int legendIndex - the index of the legend in the LegendCollection of the control. int legendItemIndex - the index of the data item in the legend data array.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also