"removeSeries"
Used to remove a series.
Synopsis
void shape.removeSeries(int series)
Parameters
Parameter | Description |
---|---|
series | number of the series |
Description
This function removes a series.
Example
In this example two series are created and afterwards the first series is removed again.
main()
{
dyn_float one;
one[1] = 20;
one[2] = 60;
one[3] = 50;
one[4] = 10;
this.addSeries(one);
this.setSeriesFillColor(0, "{255,181,53}");
dyn_float two;
two[1] = 30;
two[2] = 25;
two[3] = 15;
this.addSeries(two);
this.setSeriesFillColor(1, "{255,78,87}");
this.removeSeries(0);
}