DataPointCollection.Add(Double[]) 方法

定义

向集合中添加一个新的 DataPoint 对象并设置其 Y 值。Adds a new DataPoint object to the collection and sets its Y value.

public:
 System::Web::UI::DataVisualization::Charting::DataPoint ^ Add(... cli::array <double> ^ y);
public System.Web.UI.DataVisualization.Charting.DataPoint Add (params double[] y);
override this.Add : double[] -> System.Web.UI.DataVisualization.Charting.DataPoint
Public Function Add (ParamArray y As Double()) As DataPoint

参数

y
Double[]

Y 值。The Y-value.

返回

新的 DataPoint 对象。The new DataPoint object.

适用于