Bewerken

Share via


HitTestResult.Series Property

Definition

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

public:
 property System::Windows::Forms::DataVisualization::Charting::Series ^ Series { System::Windows::Forms::DataVisualization::Charting::Series ^ get(); void set(System::Windows::Forms::DataVisualization::Charting::Series ^ value); };
public System.Windows.Forms.DataVisualization.Charting.Series Series { get; set; }
member this.Series : System.Windows.Forms.DataVisualization.Charting.Series with get, set
Public Property Series As Series

Property Value

The Series that a data point returned by a hit test belongs to. The default value is null.

Remarks

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 null.

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

Applies to