Dundas Chart for ASP.NET
PointIndex Property
See Also  Send comments on this topic.
Dundas.Charting.WebControl Namespace > HitTestResult Class : PointIndex Property


Gets the index of a data point returned by a hit test (if any).


Data Point Index

Syntax

Visual Basic (Declaration)  
Public Property PointIndex As Integer
Visual Basic (Usage) Copy Code
Dim instance As HitTestResult
Dim value As Integer
 
instance.PointIndex = value
 
value = instance.PointIndex
C#  
public int PointIndex {get; set;}

Return Value

Represents the index of a data point returned by a hit test. Defaults to negative one.

Remarks

If a data point is at the location that is checked by a hit test then this property will be the zero-based index of that data point, otherwise it will be negative one.

All data points are stored in a data points collection (which is exposed as the Points collection of a Series object), and the index of the data points is zero-based.

To determine the series that the data point belongs to use the Series property.

For more information see the Selection of Chart Elements and 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.