source:
code/Website/data-files/x-labels-auto-rev.txt@
7887
Last change on this file since 7887 was 7849, checked in by , 15 years ago | |
---|---|
File size: 1.0 KB |
Rev | Line | |
---|---|---|
[7849] | 1 | { |
2 | "title":{ | |
3 | "text":"X Labels - Auto with Reversed Axis", | |
4 | "style":"{font-size: 16px; margin-top: 0; margin-bottom: 0; padding-top: 0; padding-bottom: 0; }" | |
5 | }, | |
6 | ||
7 | "x_axis":{ "min":49, "max":5, "offset":true, "labels":{"visible-steps":2,"rotate":270 }}, | |
8 | ||
9 | "elements":[ | |
10 | { | |
11 | "type": "line_hollow", | |
12 | "colour": "#736AFF", | |
13 | "text": "Avg. wave height (cm)", | |
14 | "font-size": 10, | |
15 | "width": 2, | |
16 | "dot-size": 4, | |
17 | "halo-size": 1, | |
18 | "tip": "#x_label#<br>#val#", | |
19 | "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] | |
20 | } | |
21 | ], | |
22 | ||
23 | "tooltip":{ | |
24 | "shadow":false, | |
25 | "stroke":5, | |
26 | "colour":"#00d000", | |
27 | "background":"#d0d0ff", | |
28 | "title":"{font-size: 14px; color: #905050;}", | |
29 | "body":"{font-size: 10px; font-weight: bold; color: #9090ff;}" | |
30 | }, | |
31 | ||
32 | "y_axis":{ | |
33 | "max": 3 | |
34 | } | |
35 | ||
36 | } |
Note:
See TracBrowser
for help on using the repository browser.