DataPoint.SetValueXY(Object, Object[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the X-value and one or more Y-values of the data point.
public:
void SetValueXY(System::Object ^ xValue, ... cli::array <System::Object ^> ^ yValue);
public void SetValueXY (object xValue, params object[] yValue);
member this.SetValueXY : obj * obj[] -> unit
Public Sub SetValueXY (xValue As Object, ParamArray yValue As Object())
Parameters
- xValue
- Object
The X-value of the data point.
- yValue
- Object[]
A list of Y-values of the data point.
Remarks
Use the SetValueXY method to set the value(s) of a data point at run time.
Note that if you set the X-value to a value other than zero (0), a scatter plot will be generated. For further details, see the Remarks section of the XValue property.
The following .NET types can be used for the object type parameter:
- String
- DateTime
- Double
- Decimal
- Single
- Int32
- UInt32
- Int64
- UInt64