source: code/Website/data-files/y-axis-labels-step.txt@ 7849

Last change on this file since 7849 was 7849, checked in by dennisw, 15 years ago
File size: 1.6 KB
Line 
1{
2 "elements": [
3 {
4 "type": "bar",
5 "values": [ 6, 10, 12.5, 6, 9 ],
6 "tip": "Fund 1 Value:#val#",
7 "colour": "#fff100",
8 "text": "Fund 1",
9 "font-size": 12
10 },
11 {
12 "type": "bar",
13 "values": [ 4, -6, 3, 3, 6.4 ],
14 "tip": "Fund 2 Value:#val#",
15 "colour": "#ff0000",
16 "text": "Fund 2",
17 "font-size": 12
18 },
19 {
20 "type": "line",
21 "values": [ 8, 9, 10, 4, 5.1 ],
22 "halo-size": 0,
23 "width": 2,
24 "dot-size": 5,
25 "colour": "#000000",
26 "text": "S&P 500",
27 "font-size": 12
28 },
29 {
30 "type": "shape",
31 "colour": "#ff0000",
32 "values": [ { "x": -0.5, "y": 0 }, { "x": 5, "y": 0 }, { "x": 5, "y": -0.1 }, { "x": -0.5, "y": -0.1 } ]
33 }
34 ],
35
36 "title": {
37 "text": "Example Chart",
38 "style": "{font-size: 18px; color: #ff0000;font-weight: bold;padding: 10px; text-align: center;font-family: Verdana, Arial;}"
39 },
40
41 "bg_colour": "#ffffff",
42
43 "x_axis":
44 {
45 "colour": "#ffffff",
46 "grid-colour": "#ffffff",
47 "labels": { "colour": "#ff0000" }
48 },
49
50 "y_axis":
51 {
52 "min": -8,
53 "max": 16,
54 "steps": 2,
55 "grid-colour": "#ffffff",
56 "colour": "#CCCCCC",
57 "labels":{
58 "labels":[ "-8%", "error", "-6%", "x", "-4%", "x", "-2%", "x", "0%", "x", "2%", "x", "4%", "x", "6%", "x", "8%", "x", "10%", "x", "12%", "x", "14%", "x", "16%" ]
59 }
60 },
61
62 "y_legend":
63 {
64 "text": "Percentage of Gain\/Loss",
65 "style": "{font-size: 14px; color: #ff0000;padding: 5px;font-family: Verdana, Arial;}"
66 }
67}
Note: See TracBrowser for help on using the repository browser.