source: code/Website/data-files/line-2.txt@ 7849

Last change on this file since 7849 was 7849, checked in by dennisw, 15 years ago
File size: 1.3 KB
Line 
1{
2 "y_legend":{
3 "text": "Time of day",
4 "style": "{color: #736AFF;}"
5 },
6
7 "elements":[
8 {
9 "type": "line",
10 "colour": "#736AFF",
11 "text": "Avg. wave height (cm)",
12 "font-size": 10,
13 "width": 2,
14 "dot-size": 4,
15 "halo-size": 0,
16 "values" : [
17 6,6,
18 {"value":7, "colour":"#FF0000", "tip":"LINE<br>#val#", "dot-size":12, "halo-size": 3 },
19 8,8]
20 },
21 {
22 "type": "line_hollow",
23 "colour": "#736AFF",
24 "text": "Avg. wave height (cm)",
25 "font-size": 10,
26 "width": 2,
27 "dot-size": 4,
28 "halo-size": 2,
29 "values" : [
30 4,4,
31 {"value":5, "colour":"#FF0000", "tip":"HOLLOW<br>#val#", "dot-size":12, "halo-size": 3 },
32 6,6]
33 },
34 {
35 "type": "line_dot",
36 "colour": "#736AFF",
37 "text": "Line Dot Key",
38 "font-size": 10,
39 "width": 2,
40 "dot-size": 4,
41 "halo-size": 1,
42 "tip": "global dot<br>#val#",
43 "values" : [
44 2,2,
45 {"value":3, "colour":"#FF0000", "tip":"DOT<br>#val#<br>Key: #key#<br>#x_label#, #x_legend#", "dot-size":12, "halo-size": 3 },
46 4,4]
47 }
48 ],
49
50
51 "y_axis":{
52 "max": 10
53 }
54
55}
Note: See TracBrowser for help on using the repository browser.