source:
code/Website/data-files/y-labels-auto-labelstyle.txt@
7878
Last change on this file since 7878 was 7849, checked in by , 15 years ago | |
---|---|
File size: 1.1 KB |
Line | |
---|---|
1 | { |
2 | "title":{ |
3 | "text":"Y Labels - Automatic with Label Style", |
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_label__label_style":"12,#669999", |
10 | "y_axis":{ "steps": 0.5, "min" : 0, "max":3 }, |
11 | |
12 | "y_label_2__label_style":"12,#DD3030", |
13 | "y_axis_right":{ "steps": 1, "min" : 3, "max":0 }, |
14 | |
15 | "elements":[ |
16 | { |
17 | "type": "line", |
18 | "colour": "#736AFF", |
19 | "text": "Avg. wave height (cm)", |
20 | "font-size": 10, |
21 | "width": 2, |
22 | "tip": "#x_label#<br>#val#", |
23 | "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] |
24 | } |
25 | ], |
26 | |
27 | "tooltip":{ |
28 | "shadow":true, |
29 | "stroke":2, |
30 | "colour":"#404040", |
31 | "background":"#000000", |
32 | "title":"{font-size: 14px; color: #905050;}", |
33 | "body":"{font-size: 10px; font-weight: bold; color: #9090ff;}" |
34 | } |
35 | } |
Note:
See TracBrowser
for help on using the repository browser.