Sets the X-value and Y-value(s) of a single data point.
The Y-value(s) of the DataPoint object added to the collection (one or more comma-separated values).
Set X value and one or more Y values of the data point.
Visual Basic (Declaration) | |
---|---|
Public Sub SetValueXY( _ ByVal xValue As Object, _ ByVal ParamArray yValue() As Object _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
Parameters
- xValue
-
The X-value of the data point.
X value of the data point. - 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.
Use this method to set the value(s) of a data point at run-time.
Note that setting the X-value to a value other than zero (0) results in a scatter plot being generated. For further details see the XValue Property topic.
Refer to the following for a complete listing of valid .NET types that can be used for the object type parameters:
String |
DateTime |
Double |
Decimal |
Single |
Int32 |
UInt32 |
Int64 |
UInt64 |
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