Dundas Chart for Windows Forms
SetValueY(Object[]) Method
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > DataPoint Class > SetValueY Method : SetValueY(Object[]) Method


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 Y-value(s) of a single data point.


Set one or more Y values of the data point.

Syntax

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

Parameters

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.

To find out how many Y-values are required to correctly display the various chart types see the Data Requirements for Chart Types topic.

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

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

© 2009 All Rights Reserved.