source: code/Website/data-files/x-axis-labels-2.txt@ 7849

Last change on this file since 7849 was 7849, checked in by dennisw, 15 years ago
File size: 1.2 KB
Line 
1{
2
3 "title":{
4 "text":"Portreath beach",
5 "style":"{color: #736AFF; font-size: 25;}"
6 },
7
8
9 "elements":[
10 {
11 "type": "line",
12 "colour": "#87421F",
13 "width": 3,
14 "values" : [1.5,1.69,1.88,2.06,2.21,2.34,2.43,2.48,2.49,2.47,2.40,
15 2.30,2.17,2.01,1.83,1.64,1.44,1.24,1.05,0.88,0.74,0.62,
16 0.54,0.50,0.50,0.54,0.61,0.72,0.86,1.03,1.22,1.41,1.61,
17 1.81,1.99,2.15,2.29,2.39,2.46,2.49]
18 }
19 ],
20
21 "y_axis":{
22 "max": 3,
23 "colour": "#FF0000",
24 "grid-colour": "#FF0000"
25 },
26
27 "x_axis":{
28 "steps": 4,
29
30 "labels":{
31 "visible": true,
32 "rotate": "vertical",
33 "steps": 1,
34 "labels": [
35 "1",
36 "2",
37 {"text":"3","colour":"#00D000"},
38 "4",
39 "5 Hello",
40 {"text":"Long text 1","colour":"#00D0D0", "rotate": "diagonal"}, /* override parent */
41 {"text":"Long text 2","colour":"#00D0D0", "rotate": "moo", "size":30}, /* should default to horizontal */
42 {"text":"Long text 3","colour":"#D000D0", "size":10} /* inherit and become vertical */
43 ]
44 }
45 },
46
47 "bg_colour": "#F8F8F8"
48}
Note: See TracBrowser for help on using the repository browser.