Line | |
---|
1 | {
|
---|
2 | "y_legend":{
|
---|
3 | "text": "Time of day",
|
---|
4 | "style": "{color: #736AFF;}"
|
---|
5 | },
|
---|
6 |
|
---|
7 | "elements":[
|
---|
8 | {
|
---|
9 | "type": "line",
|
---|
10 | "colour": "#736AFF",
|
---|
11 | "text": "Avg. wave height (cm)",
|
---|
12 | "font-size": 10,
|
---|
13 | "width": 2,
|
---|
14 | "dot-size": 4,
|
---|
15 | "halo-size": 0,
|
---|
16 | "line-style": {"style":"dash","on":10,"off":5},
|
---|
17 | "values" : [
|
---|
18 | 6,6,
|
---|
19 | {"value":7, "colour":"#FF0000", "tip":"LINE<br>#val#", "dot-size":12, "halo-size": 3 },
|
---|
20 | 8,8]
|
---|
21 | },
|
---|
22 | {
|
---|
23 | "type": "shape",
|
---|
24 | "colour": "#FF0000",
|
---|
25 | "alpha": 0.2,
|
---|
26 | "values" : [
|
---|
27 | {"x":2,"y":2},
|
---|
28 | {"x":4,"y":2},
|
---|
29 | {"x":4,"y":4},
|
---|
30 | {"x":3,"y":5},
|
---|
31 | {"x":2,"y":4}
|
---|
32 | ]
|
---|
33 | },
|
---|
34 | {
|
---|
35 | "type": "line_dot",
|
---|
36 | "colour": "#736AFF",
|
---|
37 | "text": "Line Dot Key",
|
---|
38 | "font-size": 10,
|
---|
39 | "width": 2,
|
---|
40 | "dot-size": 4,
|
---|
41 | "halo-size": 1,
|
---|
42 | "tip": "global dot<br>#val#",
|
---|
43 | "values" : [
|
---|
44 | 2,2,
|
---|
45 | {"value":3, "colour":"#FF0000", "tip":"DOT<br>#val#<br>Key: #key#<br>#x_label#, #x_legend#", "dot-size":12, "halo-size": 3 },
|
---|
46 | 4,4]
|
---|
47 | }
|
---|
48 | ],
|
---|
49 |
|
---|
50 |
|
---|
51 | "y_axis":{
|
---|
52 | "max": 10
|
---|
53 | }
|
---|
54 |
|
---|
55 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.