Upravit

Sdílet prostřednictvím


DataPointCollection.Add(Double[]) Method

Definition

Adds a new DataPoint object to the collection and sets its Y value.

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

Parameters

y
Double[]

The Y-value of the data point.

Returns

The newly added DataPoint object.

Applies to