HitTestResult.Series 属性
定义
获取或设置命中测试返回的数据点(如果有)的关联序列。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
属性值
命中测试返回的数据点所属的 Series。The Series that a data point returned by a hit test belongs to. 默认值是 null。The default value is null.
注解
如果数据点位于命中测试所检查的位置,则此属性将引用该 Series 数据点所属的对象。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. 如果命中测试未返回任何数据点,则此属性的值将为 null 。If no data point is returned by the hit test, the value of this property will be null.
若要确定返回的数据点的索引,请使用 PointIndex 属性。To determine the index of a returned data point, use the PointIndex property.