"setSeriesFillType"
Specifies the fill type of a series.
Synopsis
void shape.setSeriesFillType(int series, string type)
Parameters
Parameter | Description |
---|---|
series | number of the series |
type | fill type |
Description
Specifies the fill type of a series.
Example
In this example the fill type of the series "Blue" was set to cross hatching. The fill type can be defined with the "Fill type selector" very easily.

main()
{
dyn_float one;
one[1] = 9;
one[2] = 11;
one[3] = 20;
one[4] = 2;
this.addSeries(one);
this.setSeriesFillColor(0, "{180,255,170}");
dyn_float two;
two[1] = 1;
two[2] = 14;
two[3] = 15;
this.addSeries(two);
this.setSeriesFillColor(1, "{52,225,255}");
this.setSeriesName(1, "Blue");
this.setSeriesName(0, "Green");
this.setSeriesFillType(1, "[hatch,(cross,10,left]]");
}
