DropLineReferenceSeries

DropLineReferenceSeries ( seriesIndex ;​ refSeries1 ;​ refSeries2 ;​ . . . ;​ refSeries1000 )

Argument Type Range Default Note
seriesIndex int 0..10000 all
refSeries1 int 0..10000 all
refSeries2 int 0..10000 all
... int 0..10000 all
refSeries1000 int 0..10000 all
Examples

DropLineReferenceSeries(1;​all)

DropLineReferenceSeries(4;​2;​3;​1)

Description

Data points of different series can be connected by drop lines using the DropLineReferenceSeries() function. The "basic series" is defined by the 1st argument seriesIndex.

DROP_LINE_REFERENCE_SERIES_01
1

OpenDrawing(250;​150)

2

ChartData( 7 10 11 10 9 4;​ /* 1st series. */

3

13 15 15 15 14 13;​ /* 2nd series. */

4

28 23 23 24 28 28) /* 3rd series. */

5

LineChart(horizontal+symbol+shadow)

6

DropLineStyle(all;​;​1.0;​gray)

7

DropLineReferenceSeries(all;​1)

8

/* Set up styles. */

9

LineStyle(1;​poly;​1;​#00a79d)

10

LineStyle(2;​poly;​1;​#f81a53)

11

LineStyle(3;​poly;​1;​#063e9e)

12

SymbolStyle(1;​circle;​4;​1;​#00a79d;​;​white)

13

SymbolStyle(2;​circle;​4;​1;​#f81a53;​;​white)

14

SymbolStyle(3;​circle;​4;​1;​#063e9e;​;​white)

15

ShadowStyle(all;​2 2 3)

16

/* Set up axes. */

17

ScalingOptions(y;​on) /* y-scaling top to bottom. */

18

AxisLine(all;​0)

19

AxisMajorTicks(all;​0)

20

AxisMajorTickLabelOptions(x;​;​;​3)

21

AxisMajorTickLabelOptions(y;​;​-3)

22

/* Set up grid. */

23

MajorGridLineWidths(x;​y;​0)

24

MajorGridLineWidths(y;​x;​0.25)

25

CloseDrawing()

DROP_LINE_REFERENCE_SERIES_01
DROP_LINE_REFERENCE_SERIES_02
1

OpenDrawing(250;​150)

2

ChartData( 7 11 22 24 28 25;​ /* 1st series. */

3

29 23 9 9 9 4) /* 2nd series. */

4

ScatterChart(label+shadow;​on)

5

DropLineStyle(all;​x;​1 2 2;​gray)

6

DropLineReferenceSeries(1;​2)

7

/* Set up styles. */

8

SymbolStyle(1;​bullet;​18;​;​steelBlue;​shaded)

9

SymbolStyle(2;​circle;​18;​1.25;​#f81a53;​;​white)

10

ShadowStyle(all;​2 2 3)

11

LabelStyle(1;​Verdana;​9;​bold;​white)

12

LabelStyle(2;​Verdana;​9;​1;​#555)

13

LabelOptions(all;​centerCenter;​;​-1)

14

/* Set up axes. */

15

AxisLine(all;​0)

16

AxisMajorTicks(all;​0)

17

/* Set up grid. */

18

MajorGridLineWidths(x;​y;​0.25)

19

MajorGridLineWidths(y;​x;​0)

20

CloseDrawing()

DROP_LINE_REFERENCE_SERIES_02
Scroll to Top