Dundas Chart for ASP.NET
DataPoint Constructor(Double,Double)
See Also  Send comments on this topic.
Dundas.Charting.WebControl 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

Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.