DataPointCollection.Add(Double[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.