1 | {
|
---|
2 | "y_legend":{
|
---|
3 | "text": "Time of day",
|
---|
4 | "style": "{color: #736AFF;}"
|
---|
5 | },
|
---|
6 |
|
---|
7 | "menu":{
|
---|
8 | "colour": "#E0E0ff",
|
---|
9 | "outline-colour": "#707070",
|
---|
10 | "values" : [
|
---|
11 | {
|
---|
12 | "type": "camera-icon",
|
---|
13 | "text": "Save as image"
|
---|
14 | },
|
---|
15 | {
|
---|
16 | "type": "text",
|
---|
17 | "text": "Save as image 2"
|
---|
18 | },
|
---|
19 | {
|
---|
20 | "type": "camera-icon",
|
---|
21 | "text": "3!!",
|
---|
22 | "javascript-function": "my_function"
|
---|
23 | }
|
---|
24 | ]
|
---|
25 | },
|
---|
26 |
|
---|
27 | "elements":[
|
---|
28 | {
|
---|
29 | "type": "line",
|
---|
30 | "colour": "#736AFF",
|
---|
31 | "text": "Avg. wave height (cm)",
|
---|
32 | "font-size": 10,
|
---|
33 | "width": 2,
|
---|
34 | "values" : [
|
---|
35 | 1.5,1.69,1.88,2.06,2.21,2.34,2.43,
|
---|
36 | 2.48,2.49,2.47,2.40,2.30,2.17,2.01,
|
---|
37 | 1.83,1.64,1.44,1.24,1.05,0.88,0.74,
|
---|
38 | 0.62,0.54,0.50,0.50,0.54,0.61,0.72,
|
---|
39 | 0.86,1.03,1.22,1.41,1.61,1.81,1.99,
|
---|
40 | 2.15,2.29,2.39,2.46,2.49,2.48,
|
---|
41 | {"value":2.44,"colour":"#FF0000","tip":"monkies"},
|
---|
42 | 2.35,2.23,2.08]
|
---|
43 | }
|
---|
44 | ],
|
---|
45 |
|
---|
46 | "y_axis":{
|
---|
47 | "max": 3
|
---|
48 | }
|
---|
49 |
|
---|
50 | }
|
---|