1 | <html><head>
|
---|
2 | <meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
---|
3 |
|
---|
4 | </head>
|
---|
5 | <body>
|
---|
6 |
|
---|
7 | <script type="text/javascript" src="../js/swfobject.js"></script>
|
---|
8 |
|
---|
9 | <div id="my_chart"></div>
|
---|
10 |
|
---|
11 | <script type="text/javascript">
|
---|
12 |
|
---|
13 | var so = new SWFObject("../actionscript/open-flash-chart.swf", "ofc", "470", "280", "9", "#FFFFFF");
|
---|
14 | so.addVariable("variables","true");
|
---|
15 | so.addVariable("x_axis_steps","1");
|
---|
16 | so.addVariable("y_ticks","5,10,5");
|
---|
17 | so.addVariable("line","3,#87421F");
|
---|
18 | so.addVariable("y_min","0");
|
---|
19 | so.addVariable("y_max","20");
|
---|
20 | so.addVariable("pie","60,#E4F0DB,#000000,1,,1");
|
---|
21 | so.addVariable("values","1,1");
|
---|
22 | so.addVariable("pie_labels","Germany,Spain");
|
---|
23 | so.addVariable("bg_colour","#ffffff");
|
---|
24 | so.addVariable("colours","#d01f3c,#356aa0,#C79810");
|
---|
25 | so.addVariable("links","javascript:alert('12'),javascript:alert('10'),javascript:alert('10'),javascript:alert('11'),javascript:alert('6')");
|
---|
26 | so.addVariable("tool_tip","#x_label#<br>Followers:#val#");
|
---|
27 |
|
---|
28 | so.addVariable("allowScriptAccess", "always" );//"sameDomain");
|
---|
29 | so.write("my_chart");
|
---|
30 | </script>
|
---|
31 |
|
---|
32 |
|
---|
33 | </body>
|
---|
34 | </html>
|
---|