source:
code/Website/data-files/x-labels-user-x.txt
| Last change on this file was 7849, checked in by , 16 years ago | |
|---|---|
| File size: 1.3 KB | |
| Line | |
|---|---|
| 1 | { |
| 2 | "title":{ |
| 3 | "text":"X Labels - Min 5 - User Specified Locations Formatted", |
| 4 | "style":"{font-size: 16px; margin-top: 0; margin-bottom: 0; padding-top: 0; padding-bottom: 0; }" |
| 5 | }, |
| 6 | |
| 7 | "x_axis":{ |
| 8 | "steps": 1, "min" : 5, "max":50, |
| 9 | "labels": { |
| 10 | "text":"lbl #val#", |
| 11 | "labels": [ |
| 12 | {"x":6}, |
| 13 | {"x":14}, |
| 14 | { |
| 15 | "x":31, |
| 16 | "text":"override #val#", |
| 17 | "grid-colour":"#FF0000", |
| 18 | "colour":"#d00000", |
| 19 | "rotate": 45, |
| 20 | "size":14, |
| 21 | "align": "center" |
| 22 | } |
| 23 | ] |
| 24 | } |
| 25 | }, |
| 26 | |
| 27 | "elements":[ |
| 28 | { |
| 29 | "type": "line_hollow", |
| 30 | "colour": "#736AFF", |
| 31 | "text": "Avg. wave height (cm)", |
| 32 | "font-size": 10, |
| 33 | "width": 2, |
| 34 | "dot-size": 4, |
| 35 | "halo-size": 1, |
| 36 | "tip": "#x_label#<br>#val#", |
| 37 | "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] |
| 38 | } |
| 39 | ], |
| 40 | |
| 41 | "tooltip":{ |
| 42 | "shadow":false, |
| 43 | "stroke":5, |
| 44 | "colour":"#00d000", |
| 45 | "background":"#d0d0ff", |
| 46 | "title":"{font-size: 14px; color: #905050;}", |
| 47 | "body":"{font-size: 10px; font-weight: bold; color: #9090ff;}" |
| 48 | }, |
| 49 | |
| 50 | "y_axis":{ |
| 51 | "max": 3 |
| 52 | } |
| 53 | |
| 54 | } |
Note:
See TracBrowser
for help on using the repository browser.
