ערוך

שתף באמצעות


DataPoint.SetValueXY(Object, Object[]) Method

Definition

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.

Refer to the following table for a complete listing of valid .NET Framework types that can be used for the object type parameter.

String DateTime Double
Decimal Single Int32
UInt32 Int64 UInt64

Applies to