DataPoint DataPoint DataPoint DataPoint Constructors

Definition

Overloads

DataPoint() DataPoint() DataPoint()

Initializes a new instance of the DataPoint class.

DataPoint(Series) DataPoint(Series) DataPoint(Series)

Initializes a new instance of the DataPoint class, and sets the Series that the data point belongs to.

DataPoint(Double, Double) DataPoint(Double, Double) DataPoint(Double, Double) DataPoint(Double, Double)

Initializes a new instance of the DataPoint class with the specified X and Y-value.

DataPoint(Double, Double[]) DataPoint(Double, Double[]) DataPoint(Double, Double[]) DataPoint(Double, Double[])

Initializes a new instance of the DataPoint class with the specified X-value and an array of Y-values.

DataPoint(Double, String) DataPoint(Double, String) DataPoint(Double, String) DataPoint(Double, String)

Initializes a new instance of the DataPoint class with the specified X-value and Y-values.

DataPoint() DataPoint() DataPoint()

Initializes a new instance of the DataPoint class.

public:
 DataPoint();
public DataPoint ();
Public Sub New ()

Remarks

This constructor can be used to create and initialize a new instance of the DataPoint class.

However, it is highly recommended that you instead add data points at run time, using the Points collection property.

DataPoint(Series) DataPoint(Series) DataPoint(Series)

Initializes a new instance of the DataPoint class, and sets the Series that the data point belongs to.

public:
 DataPoint(System::Windows::Forms::DataVisualization::Charting::Series ^ series);
public DataPoint (System.Windows.Forms.DataVisualization.Charting.Series series);
new System.Windows.Forms.DataVisualization.Charting.DataPoint : System.Windows.Forms.DataVisualization.Charting.Series -> System.Windows.Forms.DataVisualization.Charting.DataPoint

Parameters

series
Series Series Series Series

The Series object that the data point belongs to.

Remarks

This constructor can be used to create and initialize a new instance of the DataPoint class.

However, it is highly recommended that you instead add data points at run time, using the Points collection property.

DataPoint(Double, Double) DataPoint(Double, Double) DataPoint(Double, Double) DataPoint(Double, Double)

Initializes a new instance of the DataPoint class with the specified X and Y-value.

public:
 DataPoint(double xValue, double yValue);
public DataPoint (double xValue, double yValue);
new System.Windows.Forms.DataVisualization.Charting.DataPoint : double * double -> System.Windows.Forms.DataVisualization.Charting.DataPoint
Public Sub New (xValue As Double, yValue As Double)

Parameters

xValue
Double Double Double Double

The X-value of the data point.

yValue
Double Double Double Double

The Y-value of the data point.

Remarks

This constructor can be used to create and initialize a new instance of the DataPoint class.

However, it is highly recommended that you instead add data points at run time, using the Points collection property.

DataPoint(Double, Double[]) DataPoint(Double, Double[]) DataPoint(Double, Double[]) DataPoint(Double, Double[])

Initializes a new instance of the DataPoint class with the specified X-value and an array of Y-values.

public:
 DataPoint(double xValue, cli::array <double> ^ yValues);
public DataPoint (double xValue, double[] yValues);
new System.Windows.Forms.DataVisualization.Charting.DataPoint : double * double[] -> System.Windows.Forms.DataVisualization.Charting.DataPoint
Public Sub New (xValue As Double, yValues As Double())

Parameters

xValue
Double Double Double Double

The X-value of the data point.

yValues
Double[]

An array of Y-values of the data point.

Remarks

This constructor can be used to create and initialize a new instance of the DataPoint class.

However, it is highly recommended that you instead add data points at run time, using the Points collection property.

DataPoint(Double, String) DataPoint(Double, String) DataPoint(Double, String) DataPoint(Double, String)

Initializes a new instance of the DataPoint class with the specified X-value and Y-values.

public:
 DataPoint(double xValue, System::String ^ yValues);
public DataPoint (double xValue, string yValues);
new System.Windows.Forms.DataVisualization.Charting.DataPoint : double * string -> System.Windows.Forms.DataVisualization.Charting.DataPoint
Public Sub New (xValue As Double, yValues As String)

Parameters

xValue
Double Double Double Double

The X-value of the data point.

yValues
String String String String

A comma-separated string of Y-values of the data point.

Remarks

This constructor can be used to create and initialize a new instance of the DataPoint class.

However, it is highly recommended that you instead add data points at run time, using the Points collection property.

Applies to