DataPoint.SetValueY(Object[]) Method
In questo articolo
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 Y-value(s) of a single data point.
public:
void SetValueY(... cli::array <System::Object ^> ^ yValue);
public void SetValueY(params object[] yValue);
member this.SetValueY : obj[] -> unit
Public Sub SetValueY (ParamArray yValue As Object())
- yValue
- Object[]
The Y-value(s) of a DataPoint object in the collection. Formatted as one or more values separated by commas.
The SetValueY property is used to set the Y-value(s) of a data point at run time.
Only one Y-value per point is required for all chart types except for bubble, candlestick and stock charts. These chart types require more than one Y-value because one data point consists of multiple values. For example, to plot one stock chart column, four values are required: high, low, open and close values.
This property returns an array of double
values when used to retrieve multiple Y-values.
Importante
The YValuesPerPoint property determines the maximum number of Y-values that all data points in a Series can have. If you specify more than the allowable number of Y-values, an exception will be raised.
The following .NET Framework types can be used for the object type parameter:
- String
- DateTime
- Double
- Decimal
- Single
- Int32
- UInt32
- Int64
- UInt64
Applies to
Prodotto | Versioni |
---|---|
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Feedback su .NET
.NET è un progetto di open source. Selezionare un collegamento per fornire feedback: