Dundas Chart for ASP.NET
SetValueXY Method
See Also  Send comments on this topic.
Dundas.Charting.WebControl Namespace > DataPoint Class : SetValueXY Method


xValue

The X-value of the data point.


X value of the data point.
yValue
The Y-value(s) of the DataPoint object added to the collection (one or more comma-separated values).
Y value(s) of the data point. Separate multiple values with commas.

Sets the X-value and Y-value(s) of a single data point.


The Y-value(s) of the DataPoint object added to the collection (one or more comma-separated values).


Set X value and one or more Y values of the data point.

Syntax

Visual Basic (Declaration)  
Public Sub SetValueXY( _
   ByVal xValue As Object, _
   ByVal ParamArray yValue() As Object _
) 
Visual Basic (Usage) Copy Code
Dim instance As DataPoint
Dim xValue As Object
Dim yValue() As Object
 
instance.SetValueXY(xValue, yValue)
C#  
public void SetValueXY( 
   object xValue,
   params object[] yValue
)

Parameters

xValue

The X-value of the data point.


X value of the data point.
yValue
The Y-value(s) of the DataPoint object added to the collection (one or more comma-separated values).
Y value(s) of the data point. Separate multiple values with commas.

Remarks

Use this method to set the value(s) of a data point at run-time.

Note that setting the X-value to a value other than zero (0) results in a scatter plot being generated. For further details see the XValue Property topic.

Refer to the following for a complete listing of valid .NET types that can be used for the object type parameters:

String

DateTime

Double

Decimal

Single

Int32

UInt32

Int64

UInt64

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.