"setSeriesLineType"

Specifies the line type of the border of charttypes with filled items (for example Bars) or the line type of a series when shown as line (see "setSeriesAsLine").

Synopsis

void shape.setSeriesLineType(int series, string type)

Parameters

Parameter Description
series number of the series
type type of the border, respectively the line

Description

Specifies the line type of the border of charttypes with filled items (for example Bars) or the line type of a series when shown as line (see "setSeriesAsLine").

Example

In this example the line type of the border of the series "Green" was set to a dashed line and the line type of the series "Green" was set to a dash-dot-dot-line.

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]");
}
Abbildung 1. The type of the border was changed

Assignment

Chart.ewo