The Y-value(s) of a data point.
Y value(s) of the series data point
Visual Basic (Declaration) | |
---|---|
Public Property YValues As Double() |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public double[] YValues {get; set;} |
Return Value
The Y-value(s) of a data point.
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.
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