DataPointCollection::Add Method (array<Double>^)
.NET Framework (current version)
Adds a new DataPoint object to the collection and sets its Y value.
Assembly: System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)
Parameters
- y
-
Type:
array<System::Double>^
The Y-value of the data point.
Return Value
Type: System.Windows.Forms.DataVisualization.Charting::DataPoint^The newly added DataPoint object.
.NET Framework
Available since 4.0
Available since 4.0
Show: