source:
code/Website/data-files/y-labels-auto-formatted.txt@
7849
Last change on this file since 7849 was 7849, checked in by , 15 years ago | |
---|---|
File size: 1.1 KB |
Rev | Line | |
---|---|---|
[7849] | 1 | { |
2 | "title":{ | |
3 | "text":"Y Labels - Autmatic with Formatting", | |
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 | "steps": 0.5, "min" : 0, "max":3, | |
11 | "rotate":"vertical", | |
12 | "labels": { | |
13 | "text":"left #val#", | |
14 | "colour":"#DD3030", | |
15 | "size":12 | |
16 | } | |
17 | }, | |
18 | ||
19 | "y_axis_right":{ | |
20 | "steps": 1, "min" : 3, "max":0, | |
21 | "rotate":"vertical", | |
22 | "labels": { | |
23 | "text":"right #val#", | |
24 | "colour":"#DD30DD", | |
25 | "size":10 | |
26 | } | |
27 | }, | |
28 | ||
29 | "elements":[ | |
30 | { | |
31 | "type": "line_hollow", | |
32 | "colour": "#736AFF", | |
33 | "text": "Avg. wave height (cm)", | |
34 | "font-size": 10, | |
35 | "width": 2, | |
36 | "dot-size": 4, | |
37 | "halo-size": 1, | |
38 | "tip": "#x_label#<br>#val#", | |
39 | "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] | |
40 | } | |
41 | ] | |
42 | } |
Note:
See TracBrowser
for help on using the repository browser.