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


xValue
Point's X-value.
Point X value.
yValues
String of comma-separated Y-values.
String of comma separated Y values.

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


Data Point object constructor.

Syntax

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

Parameters

xValue
Point's X-value.
Point X value.
yValues
String of comma-separated Y-values.
String of comma separated Y values.

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.