Dundas Chart for ASP.NET
Click Event
See Also  Send comments on this topic.
Dundas.Charting.WebControl Namespace > Chart Class : Click Event


This server-side event fires when a chart element is clicked on by the user.


Defines the Click event using the event property syntax. The Events property stores all the event delegates of a control as name/value pairs.

Syntax

Visual Basic (Declaration)  
Public Event Click() As ImageClickEventHandler
Visual Basic (Usage) Copy Code
Dim instance As Chart
Dim handler As ImageClickEventHandler
 
AddHandler instance.Click, handler
C#  
public event ImageClickEventHandler Click()

Remarks

This event fires when a chart element is clicked on by the user, but will only fire if the RenderType property is set to InputTag.

The Click event may be used to handle selection when a drilldown scenario is being implemented. The ImageClickEventHandler provides the x and y-mouse coordinates required by the Select method to determine what data point the user clicked on. NOTE however that we HIGHLY RECOMMEND using client-side image maps for drilldown because of its ease of use!   

The sender parameter of the ImageClickEventHandler will always be the root Chart object.

For details on how to use drilldown see the Implementing drilldown topic.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.