1 | {
|
---|
2 | "title":{
|
---|
3 | "text":"Y Labels - User Specified Locations",
|
---|
4 | "style":"{font-size: 16px; margin-top: 0; margin-bottom: 0; padding-top: 0; padding-bottom: 0; }"
|
---|
5 | },
|
---|
6 |
|
---|
7 | "x_axis_":{ "steps": 5 },
|
---|
8 |
|
---|
9 | "y_axis":{
|
---|
10 | "min" : 0, "max":3,
|
---|
11 | "rotate":"vertical",
|
---|
12 | "labels": {
|
---|
13 | "text":"left #val#",
|
---|
14 | "colour":"#DD30DD",
|
---|
15 | "size":12,
|
---|
16 | "labels": [
|
---|
17 | {"y":0.25},
|
---|
18 | {"y":1.685},
|
---|
19 | {"y":2.45, "text":"override #val#", "colour":"#44AA44", "size":10, "rotate":30},
|
---|
20 | {"y":3}
|
---|
21 | ]
|
---|
22 | }
|
---|
23 | },
|
---|
24 |
|
---|
25 | "y_axis_right":{
|
---|
26 | "min" : 0, "max":10,
|
---|
27 | "rotate":"vertical",
|
---|
28 | "labels": {
|
---|
29 | "text":"right #val#",
|
---|
30 | "colour":"#30AA30",
|
---|
31 | "size":10,
|
---|
32 | "labels": [
|
---|
33 | {"y":0},
|
---|
34 | {"y":5},
|
---|
35 | {"y":7.5, "text":"7.5: #val#", "colour":"#4444AA", "size":12, "rotate":""},
|
---|
36 | {"y":10}
|
---|
37 | ]
|
---|
38 | }
|
---|
39 | },
|
---|
40 |
|
---|
41 | "elements":[
|
---|
42 | {
|
---|
43 | "type": "line",
|
---|
44 | "colour": "#736AFF",
|
---|
45 | "text": "Avg. wave height (cm)",
|
---|
46 | "font-size": 10,
|
---|
47 | "width": 2,
|
---|
48 | "tip": "#x_label#<br>#val#",
|
---|
49 | "values" : [1.5,1.69,1.88,2.06,2.21,2.34,2.43,2.48,2.49,2.47,2.40,2.30,2.17,2.01,1.83,1.64,1.44,1.24,1.05,0.88,0.74,0.62,0.54,0.50,0.50,0.54,0.61,0.72,0.86,1.03,1.22,1.41,1.61,1.81,1.99,2.15,2.29,2.39,2.46,2.49,2.48,2.44,2.35,2.23,2.08]
|
---|
50 | },
|
---|
51 | {
|
---|
52 | "type": "line",
|
---|
53 | "colour": "#6A7300",
|
---|
54 | "width": 2,
|
---|
55 | "tip": "#x_label#<br>#val#",
|
---|
56 | "axis": "right",
|
---|
57 | "values" : [1.5,1.69,1.88,2.06,2.21,2.34,2.43,2.48,2.49,2.47,2.40,2.30,2.17,2.01,1.83,1.64,1.44,1.24,1.05,0.88,0.74,0.62,0.54,0.50,0.50,0.54,0.61,0.72,0.86,1.03,1.22,1.41,1.61,1.81,1.99,2.15,2.29,2.39,2.46,2.49,2.48,2.44,2.35,2.23,2.08]
|
---|
58 | }
|
---|
59 | ],
|
---|
60 |
|
---|
61 | "tooltip":{
|
---|
62 | "shadow":false,
|
---|
63 | "stroke":5,
|
---|
64 | "colour":"#00d000",
|
---|
65 | "background":"#d0d0ff",
|
---|
66 | "title":"{font-size: 14px; color: #905050;}",
|
---|
67 | "body":"{font-size: 10px; font-weight: bold; color: #9090ff;}"
|
---|
68 | }
|
---|
69 | }
|
---|