"setSeriesLineColor"

Used to define which color the line of a series should have.

Synopsis

void shape.setSeriesLineColor(int series, string color)

Parameters

Parameter Description
series number of the series
color the color, that is selected

Description

Specifies the line color of the border of chart types with filled items (for example Bars) or the line color of a series when shown as line (see "setSeriesAsLine"). Only static colors are allowed.

Example

The color of the borderline of the series "Blue" was changed to red.

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.setSeriesLineType(1, "[dash_dot_dot,oneColor,JoinMiter,CapButt,2]");
   this.setSeriesLineType(0, "[dashed,oneColor,JoinMiter,CapButt,2]");
   this.setSeriesLineColor(1, "{255,11,11}");
}
Abbildung 1. The color of the borderline was changed

Assignment

Chart.ewo