Subversion Repositories php-qbpwcf

Rev

Rev 23 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
23 liveuser 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2
<html>
3
 
4
    <head>
5
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
6
        <title>amMap example</title>
7
 
8
        <link rel="stylesheet" href="../ammap/ammap.css" type="text/css">
9
        <script src="../ammap/ammap.js" type="text/javascript"></script>
10
        <!-- map file should be included after ammap.js -->
11
		<script src="../ammap/maps/js/worldLow.js" type="text/javascript"></script>
12
        <script>
13
 
14
			var map = AmCharts.makeChart("mapdiv", {
15
 
16
				type: "map",
17
 
18
				creditsPosition: "top-right",
19
 
20
				dataProvider: {
21
					map: "worldLow",
22
					zoomLevel: 3.5,
23
					zoomLongitude: 10,
24
					zoomLatitude: 52,
25
					areas: [{
26
							title: "Austria",
27
							id: "AT",
28
							color: "#3366CC",
29
							customData: "1995",
30
							groupId: "before2004"
31
						}, {
32
							title: "Ireland",
33
							id: "IE",
34
							color: "#3366CC",
35
							customData: "1973",
36
							groupId: "before2004"
37
						}, {
38
							title: "Denmark",
39
							id: "DK",
40
							color: "#3366CC",
41
							customData: "1973",
42
							groupId: "before2004"
43
						}, {
44
							title: "Finland",
45
							id: "FI",
46
							color: "#3366CC",
47
							customData: "1995",
48
							groupId: "before2004"
49
						}, {
50
							title: "Sweden",
51
							id: "SE",
52
							color: "#3366CC",
53
							customData: "1995",
54
							groupId: "before2004"
55
						}, {
56
							title: "Great Britain",
57
							id: "GB",
58
							color: "#3366CC",
59
							customData: "1973",
60
							groupId: "before2004"
61
						}, {
62
							title: "Italy",
63
							id: "IT",
64
							color: "#3366CC",
65
							customData: "1957",
66
							groupId: "before2004"
67
						}, {
68
							title: "France",
69
							id: "FR",
70
							color: "#3366CC",
71
							customData: "1957",
72
							groupId: "before2004"
73
						}, {
74
							title: "Spain",
75
							id: "ES",
76
							color: "#3366CC",
77
							customData: "1986",
78
							groupId: "before2004"
79
						}, {
80
							title: "Greece",
81
							id: "GR",
82
							color: "#3366CC",
83
							customData: "1981",
84
							groupId: "before2004"
85
						}, {
86
							title: "Germany",
87
							id: "DE",
88
							color: "#3366CC",
89
							customData: "1957",
90
							groupId: "before2004"
91
						}, {
92
							title: "Belgium",
93
							id: "BE",
94
							color: "#3366CC",
95
							customData: "1957",
96
							groupId: "before2004"
97
						}, {
98
							title: "Luxembourg",
99
							id: "LU",
100
							color: "#3366CC",
101
							customData: "1957",
102
							groupId: "before2004"
103
						}, {
104
							title: "Netherlands",
105
							id: "NL",
106
							color: "#3366CC",
107
							customData: "1957",
108
							groupId: "before2004"
109
						}, {
110
							title: "Portugal",
111
							id: "PT",
112
							color: "#3366CC",
113
							customData: "1986",
114
							groupId: "before2004"
115
						},
116
 
117
						{
118
							title: "Lithuania",
119
							id: "LT",
120
							color: "#FFCC33",
121
							customData: "2004",
122
							groupId: "2004"
123
						}, {
124
							title: "Latvia",
125
							id: "LV",
126
							color: "#FFCC33",
127
							customData: "2004",
128
							groupId: "2004"
129
						}, {
130
							title: "Czech Republic ",
131
							id: "CZ",
132
							color: "#FFCC33",
133
							customData: "2004",
134
							groupId: "2004"
135
						}, {
136
							title: "Slovakia",
137
							id: "SK",
138
							color: "#FFCC33",
139
							customData: "2004",
140
							groupId: "2004"
141
						}, {
142
							title: "Slovenia",
143
							id: "SI",
144
							color: "#FFCC33",
145
							customData: "2004",
146
							groupId: "2004"
147
						}, {
148
							title: "Estonia",
149
							id: "EE",
150
							color: "#FFCC33",
151
							customData: "2004",
152
							groupId: "2004"
153
						}, {
154
							title: "Hungary",
155
							id: "HU",
156
							color: "#FFCC33",
157
							customData: "2004",
158
							groupId: "2004"
159
						}, {
160
							title: "Cyprus",
161
							id: "CY",
162
							color: "#FFCC33",
163
							customData: "2004",
164
							groupId: "2004"
165
						}, {
166
							title: "Malta",
167
							id: "MT",
168
							color: "#FFCC33",
169
							customData: "2004",
170
							groupId: "2004"
171
						}, {
172
							title: "Poland",
173
							id: "PL",
174
							color: "#FFCC33",
175
							customData: "2004",
176
							groupId: "2004"
177
						},
178
 
179
						{
180
							title: "Romania",
181
							id: "RO",
182
							color: "#66CC99",
183
							customData: "2007",
184
							groupId: "2007"
185
						}, {
186
							title: "Bulgaria",
187
							id: "BG",
188
							color: "#66CC99",
189
							customData: "2007",
190
							groupId: "2007"
191
						}
192
					]
193
				},
194
 
195
				areasSettings: {
196
					unlistedAreasColor: "#DDDDDD",
197
					rollOverOutlineColor: "#FFFFFF",
198
					rollOverColor: "#CC0000",
199
					balloonText: "[[title]] joined EU at [[customData]]"
200
				},
201
 
202
 
203
				legend: {
204
					width: 600,
205
					backgroundAlpha: 0.5,
206
					backgroundColor: "#FFFFFF",
207
					borderColor: "#666666",
208
					borderAlpha: 1,
209
					bottom: 15,
210
					left: 15,
211
					horizontalGap: 10,
212
					data: [{
213
						title: "Joined EU before 2004",
214
						color: "#3366CC"
215
					}, {
216
						title: "Joined EU at 2004",
217
						color: "#FFCC33"
218
					}, {
219
						title: "Joined EU at 2007",
220
						color: "#66CC99"
221
					}]
222
				}
223
 
224
			});
225
 
226
        </script>
227
    </head>
228
 
229
    <body>
230
        <div id="mapdiv" style="width: 800px; background-color:#eeeeee; height: 500px;"></div>
231
    </body>
232
 
233
</html>