source: code/Website/data-files/tooltip-mixed-1.txt@ 7878

Last change on this file since 7878 was 7849, checked in by dennisw, 15 years ago
File size: 1.9 KB
Line 
1{
2 "title":{
3 "text": "TOOLTIP: CLOSEST",
4 "style": "{font-size: 20px; color:#0000ff; font-family: Verdana; text-align: center;}"
5 },
6
7 "y_legend":{
8 "text": "Open Flash Chart",
9 "style": "{color: #736AFF; font-size: 12px;}"
10 },
11
12 "elements":[
13 {
14 "type": "bar",
15 "alpha": 0.5,
16 "colour": "#9933CC",
17 "text": "Page views",
18 "font-size": 10,
19 "values" : [9,6,7,9,5,7,6,9,7]
20 },
21 {
22 "type": "bar",
23 "alpha": 0.5,
24 "colour": "#CC9933",
25 "text": "Page views 2",
26 "font-size": 10,
27 "values" : [4,9,6,7,9,5,7,6,9]
28 },
29 {
30 "type": "line",
31 "colour": "#736AFF",
32 "text": "Avg. wave height (cm)",
33 "font-size": 10,
34 "width": 2,
35 "dot-style": {
36 "type":"hollow-dot", "dot-size": 4, "halo-size": 2 },
37 "values" : [
38 14,14,
39 {"value":15, "colour":"#FF0000", "tip":"HOLLOW<br>#val#", "dot-size":12, "halo-size": 3 },
40 16,18]
41 },
42 {
43 "type": "line",
44 "colour": "#736AFF",
45 "text": "Line Dot Key",
46 "font-size": 10,
47 "width": 2,
48 "dot-style": {
49 "type":"dot", "dot-size": 4,
50 "tip":"global dot<br>#val#" },
51 "values" : [
52 null,null,null,null,
53 12,12,
54 {"value":13, "colour":"#FF0000", "tip":"DOT<br>#val#<br>Key: #key#<br>Label: #x_label#, #x_legend#", "dot-size":12, "halo-size": 3 },
55 14,9]
56 }
57 ],
58
59 "x_axis":{
60 "stroke":1,
61 "tick_height":10,
62 "colour":"#d000d0",
63 "grid_colour":"#00ff00",
64 "labels": {
65 "labels": ["January","February","March","April","May","June","July","August","Spetember"]
66 }
67 },
68
69 "y_axis":{
70 "stroke": 4,
71 "tick_length": 3,
72 "colour": "#d000d0",
73 "grid_colour": "#00ff00",
74 "offset": 0,
75 "max": 20
76 }
77
78}
79
Note: See TracBrowser for help on using the repository browser.