Represents the results of a hit test.
Assembly: System.Web.DataVisualization (in System.Web.DataVisualization.dll)
Gets or sets the type of chart element, if any, returned by a hit test.
Gets or sets the object, if any, returned by a hit test.
Gets or sets the index of a data point, if any, returned by a hit test.
Gets or sets the associated series of a data point, if any, returned by a hit test.
Gets the sub-object, if any, returned by a hit test.
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
Serves as the default hash function. (Inherited from Object.)
Returns a string that represents the current object.(Inherited from Object.)
The HitTest method call.class represents the results of a hit test, and is exposed as the return object from a
A hit test checks a specified point in the chart to determine if a chart element is located at that point. If a chart element is detected, theclass is used to obtain information about that chart element.
If a data point is located, you can use the PointIndex property to get the index of that data point; that is, the zero-based index of the point in the DataPointCollection. Use the Series property to get the associated Series object for that data point.
The ChartArea and Axis properties are used to get the associated chart area and axis of the chart element—if any—returned by the hit test. Note that these properties may be null if the returned chart element does not have an associated chart area or axis.
Use the ChartElementType property to determine the type of the chart element returned by a hit test.
Available since 4.0
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.