This documentation is archived and is not being maintained.

HitTestResult::Series Property

Gets or sets the associated series of a data point, if any, returned by a hit test.

Namespace:  System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

public:
property Series^ Series {
	Series^ get ();
	void set (Series^ value);
}

Property Value

Type: System.Web.UI.DataVisualization.Charting::Series
The Series that a data point returned by a hit test belongs to. The default value is nullptr.

If a data point is at the location checked by a hit test, this property will reference the Series object that the data point belongs to. If no data point is returned by the hit test, the value of this property will be nullptr.

To determine the index of a returned data point, use the PointIndex property.

.NET Framework

Supported in: 4

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

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: