Sets the specified Y-value of a data point.
Sets on of the data points Y values by index.
Visual Basic (Declaration) | |
---|---|
Public Overloads Sub SetValueY( _ ByVal yValueIndex As Integer, _ ByVal yValue As Double _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public void SetValueY( int yValueIndex, double yValue ) |
Parameters
- yValueIndex
- The index of the Y-value to be set (zero for the first Y-value, one for the second Y-value, etc.).
The index of the Y-value to be set (zero for the first Y-value, one for the second Y-value, etc.).
Y value index. - yValue
- The assigned Y-value of the data point.
The assigned Y-value of the data point.
Y value.
Use this method to set a Y-value of a data point at run-time. The index parameter determines which Y-value is set (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 SetValueY method to add the additional Y-values once a data point has been added to a series.
To set the Y-value(s) of a data point use the other definition that allows for an array of Y-values.
To get a Y-value use the GetYValue method.
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