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


The Y-value(s) of a data point.


Y value(s) of the series data point

Syntax

Visual Basic (Declaration)  
Public Property YValues As Double()
Visual Basic (Usage) Copy Code
Dim instance As DataPoint
Dim value() As Double
 
instance.YValues = value
 
value = instance.YValues
C#  
public double[] YValues {get; set;}

Return Value

The Y-value(s) of a data point.

Remarks

The YValues property is used to set the Y-values of data points.

The required Y-values for all chart types is one value, except for bubble, candlestick and stock charts. These chart types require more than one Y-value since one data point consists of multiple values. For example, to plot one stock chart column four values are required: high, low, open and close values respectively.

This property will return an array of Doubles when used to retrieve the Y-values.

Important: the Series.YValuesPerPoint property determines the maximum number of Y-values that all data points in a Series can have. Specifying more than the allowable number of Y-values will result in an exception being raised.

For further details regarding the data requirements of the different chart types see the Data Requirements topic or the Chart Types Overview topic.

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.