Dundas Chart for Windows Forms
DataPoint Constructor(Double,Double)
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > DataPoint Class > DataPoint Constructor : DataPoint Constructor(Double,Double)


xValue
Point's X-value.
Point X value.
yValue
Point's Y-value.
Point Y value.

Creates and initializes a new instance of the DataPoint class, using an X and Y-value.


Data Point object constructor.

Syntax

Visual Basic (Declaration)  
Public Function New( _
   ByVal xValue As Double, _
   ByVal yValue As Double _
)
Visual Basic (Usage) Copy Code
Dim xValue As Double
Dim yValue As Double
 
Dim instance As DataPoint(xValue, yValue)
C#  
public DataPoint( 
   double xValue,
   double yValue
)

Parameters

xValue
Point's X-value.
Point X value.
yValue
Point's Y-value.
Point Y value.

Remarks

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

However, we highly recommend adding data points at run-time using the Points collection property instead.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2009 All Rights Reserved.