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


yValueIndex
The index of the relevant data point in the data point collection.

The index of the relevant data point in the data point collection.


Y value index.

Gets the Y-value of the specified data point.


Gets on of the data points Y values by index.

Syntax

Visual Basic (Declaration)  
Public Function GetValueY( _
   ByVal yValueIndex As Integer _
) As Double
Visual Basic (Usage) Copy Code
Dim instance As DataPoint
Dim yValueIndex As Integer
Dim value As Double
 
value = instance.GetValueY(yValueIndex)
C#  
public double GetValueY( 
   int yValueIndex
)

Parameters

yValueIndex
The index of the relevant data point in the data point collection.

The index of the relevant data point in the data point collection.


Y value index.

Return Value

Resets the point's Y-values.
Y value

Remarks

Use this method to get a Y-value of a data point at run-time. The index parameter determines which data point the Y-value is for (zero-based).

When adding data points at the client the only AddXY or AddY method definitions that can be used are those that do not allow for an array of Y-values. Use this method to get a Y-value, and use the SetValueY method to add the additional Y-values once a data point has been added to a series.

To get a Y-value use the FindValue method.

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.