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-style": {
|
---|
15 | "type":"anchor",
|
---|
16 | "sides":3,
|
---|
17 | "width":1,
|
---|
18 | "tip":"type = anchor\nsides = 3\nhollow" },
|
---|
19 |
|
---|
20 | "line-style": {"style":"dash","on":10,"off":5},
|
---|
21 | "values" : [
|
---|
22 | 6,6,
|
---|
23 | {"value":7, "colour":"#FF0000", "tip":"LINE<br>#val#", "dot-size":12, "halo-size": 3 },
|
---|
24 | 8,8]
|
---|
25 | },
|
---|
26 | {
|
---|
27 | "type": "line",
|
---|
28 | "colour": "#736AFF",
|
---|
29 | "text": "Line Dot Key",
|
---|
30 | "font-size": 10,
|
---|
31 | "width": 2,
|
---|
32 | "dot-style": {
|
---|
33 | "type":"anchor",
|
---|
34 | "sides":3,
|
---|
35 | "width":1,
|
---|
36 | "tip":"type = anchor\nsides = 3\nhollow" },
|
---|
37 | "tip": "global dot<br>#val#",
|
---|
38 | "values" : [
|
---|
39 | 2,2,
|
---|
40 | {"value":3, "colour":"#FF0000", "tip":"DOT<br>#val#<br>Key: #key#<br>#x_label#, #x_legend#", "dot-size":12, "halo-size": 3 },
|
---|
41 | 4,4]
|
---|
42 | }
|
---|
43 | ],
|
---|
44 |
|
---|
45 |
|
---|
46 | "y_axis":{
|
---|
47 | "max": 10
|
---|
48 | }
|
---|
49 |
|
---|
50 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.