"addSeriesRow"
The attribute "addSeriesRow" adds a new row with the specified values to the given series.
Synopsis
shape.addSeriesRow(int series, dyn_float values);
Parameter
Parameter | Description |
---|---|
series |
Index of the series to which the row is added. Note: If a series number which does not exist is defined, it is automatically created. However the given number must correspond to the ongoing series number. E.g. if there is only a series 0, it is not possible to create a series 2. Only the series with index 1 can be created. |
values | Values for the row |
Description
The attribute "addSeriesRow" adds a new row with the specified values to the given series. It is also possible to insert empty rows by using makeDynFloat().
Example
main()
{
dyn_float rowVal1, rowVal2;
dpGet("TestDP.x", rowVal1, "TestDP.y", rowVal2);
BarChart3D_ewo1.addSeriesRow(0, rowVal1);
BarChart3D_ewo1.addSeriesRow(1, makeDynFloat());
BarChart3D_ewo1.addSeriesRow(2, rowVal2);
}
Assignment
BarChart3D-EWO