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.
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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應