Dundas Chart for Windows Forms
Select Method
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > Chart Class : Select Method


Retrieves the data point and series that a user selected (i.e. clicked on).


Activates the control.

Syntax

Visual Basic (Declaration)  
Public Sub Select() 
Visual Basic (Usage) Copy Code
Dim instance As Chart
 
instance.Select()
C#  
public void Select()

Remarks

To determine what data point the user selected pass in the X and Y value mouse coordinates that the user clicked on. The series and points parameters will then be populated, letting the developer know what data point the user selected.

The mouse click coordinates are obtained from the ImageClickEventArgs argument of the control's Click event, which is used to handle the selection.

NOTE that we HIGHLY RECOMMEND using client-side image maps for drilldown because of its ease of use!  The Select method only exists for backwards compatibility with code written for previous versions of the Chart control.

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

© 2009 All Rights Reserved.