DropLineReferencePoint
Modified in version 5.0
DropLineReferencePoint ( seriesIndex ; xCenter ; yCenter ; type ; size ; stroke ; color ; colorVariant ; backgroundColor ; backgroundColorVariant ; shadowEffect ; shadowColor )
Argument | Type | Range | Default | Note |
---|---|---|---|---|
seriesIndex | int | 0..10000 | all | |
xCenter | num | -inf..+inf | (required) | |
yCenter | num | -inf..+inf | (required) | |
type | int | 0..126 | bullet | |
size | num | 0..1000 | 9 | Dimension:[pt] |
stroke | num[] | 0..1000 | 1 | Dimension:[pt] |
color | rgba | 0..255 | black | |
colorVariant | int | -1..128 | solid | |
backgroundColor | rgba | 0..255 | none | |
backgroundColorVariant | int | -1..128 | solid | |
shadowEffect | num[] | -1000..1000 | 0 | |
shadowColor | rgba | 0..255 | #888a |
Examples
DropLineReferencePoint(;0;0)
DropLineReferencePoint(all;40;60;bullet;5;;red)
Description
The DropLineReferencePoint() function serves to define a reference point which the drop lines radiate from. In this case, as the argument dropLineAxisIndex in the DropLineStyle() function, all indices greater than 1 are ignored, i.e. only dropLineAxisIndex = x or dropLineAxisIndex = 1 are accepted. The arguments xCenter and yCenter define the position of the reference point. The appearance of the reference point is controlled by using the arguments type, size, stroke, color, colorVariant, etc. A total of 126 symbols are presently available. An overview of the predefined symbols can be found in Symbols. The default reference point is a black, circular point (type = bullet) with a 9-pixel diameter.
| DROP_LINE_REFERENCE_POINT_01 |
1 | OpenDrawing(250;150) |
2 | ChartData(7 11 18 20 24 10 15; /* x-values. */ |
3 | 2 18 16 8 13 10 20) /* y-values. */ |
4 | |
5 | DropLineStyle(1;;0.25 2 2;black) |
6 | DropLineReferencePoint(1;15;10;bullet;8;1;#c002a0;shaded) |
7 | /* Set up styles. */ |
8 | SymbolStyle(1;bullet;4;1;#c002a0;shaded) |
9 | AxisOptions(all;none) /* Hide axes. */ |
10 | GridLocation(xy;none) /* Hide grid. */ |
11 |
| DROP_LINE_REFERENCE_POINT_02 |
1 | OpenDrawing(250;150) |
2 | ChartData(17 14 20 12 17; /* 1st series: x-values. */ |
3 | 4 7 8 16 17; /* 1st series: y-values. */ |
4 | 7 5 8 17 10; /* 1st series: diameters. */ |
5 | 8 3 6; /* 2nd series: x-values. */ |
6 | 4 6 16; /* 2nd series: y-values. */ |
7 | 7 6 8) /* 2nd series: diameters. */ |
8 | |
9 | DropLineStyle(1;;1;#3879aa) |
10 | DropLineStyle(2;;1;161 42 37 200) |
11 | DropLineReferencePoint(1;17;10;circle;7;1.5;#3879aa;;white) |
12 | DropLineReferencePoint(2;6;10;bullet;8;;161 42 37 200;shaded;;;2 2 3) |
13 | /* Set up styles. */ |
14 | |
15 | |
16 | BorderStyle(1;none) |
17 | BorderStyle(2;;1.5;161 42 37 200) |
18 | ShadowStyle(all;2 2 3) |
19 | LabelStyle(1;Verdana;9;bold;white) |
20 | LabelStyle(2;Verdana;9;plain;#333) |
21 | LabelOptions(all;;;-1) |
22 | /* Set up axes. */ |
23 | |
24 | AxisMajorTicks(all;0) |
25 | /* Set up grid. */ |
26 | MajorGridLineWidths(all;all;0.25) |
27 | |
28 |