[7849] | 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 | var so = new SWFObject("../actionscript/open-flash-chart.swf", "ofc", "300", "200", "9", "#FFFFFF");
|
---|
| 13 | //so.addVariable("data", "../data-files/data-20.txt");
|
---|
| 14 |
|
---|
| 15 | so.addVariable("variables","true");
|
---|
| 16 |
|
---|
| 17 |
|
---|
| 18 | so.addVariable("pie", "60,#9933CC,#000000");
|
---|
| 19 | so.addVariable("values", "3,2,1,1,1,1,0.2");
|
---|
| 20 | so.addVariable("colours", "#d01f3c,#356aa0,#C79810");
|
---|
| 21 | so.addVariable("links", "javascript:alert('Jan 3'),javascript:alert('äžæ 2'),javascript:alert('March 1'),javascript:alert('April 1'),javascript:alert('May 1'),javascript:alert('June 1'),javascript:alert('July 0.2')");
|
---|
| 22 | so.addVariable("pie_labels", "January,äžæ,March,April,May,June,July");
|
---|
| 23 | so.addVariable("tool_tip", "äžæ<br>#x_label#<br>Value: #val#");
|
---|
| 24 |
|
---|
| 25 |
|
---|
| 26 | so.addParam("allowScriptAccess", "always" );//"sameDomain");
|
---|
| 27 | so.write("my_chart");
|
---|
| 28 | </script>
|
---|
| 29 |
|
---|
| 30 | <hr>
|
---|
| 31 |
|
---|
| 32 | <div id="my_chart_2"></div>
|
---|
| 33 |
|
---|
| 34 | <script type="text/javascript">
|
---|
| 35 | var so = new SWFObject("../actionscript/open-flash-chart.swf", "ofc", "200", "300", "9", "#FFFFFF");
|
---|
| 36 | //so.addVariable("data", "../data-files/data-20.txt");
|
---|
| 37 |
|
---|
| 38 | so.addVariable("variables","true");
|
---|
| 39 |
|
---|
| 40 |
|
---|
| 41 | so.addVariable("pie", "60,#9933CC,#000000");
|
---|
| 42 | so.addVariable("values", "3,2,1,1,1,1,0.2");
|
---|
| 43 | so.addVariable("colours", "#d01f3c,#356aa0,#C79810");
|
---|
| 44 | so.addVariable("links", "javascript:alert('Jan 3'),javascript:alert('äžæ 2'),javascript:alert('March 1'),javascript:alert('April 1'),javascript:alert('May 1'),javascript:alert('June 1'),javascript:alert('July 0.2')");
|
---|
| 45 | so.addVariable("pie_labels", "January,äžæ,March,April,May,June,July");
|
---|
| 46 | so.addVariable("tool_tip", "äžæ<br>#x_label#<br>Value: #val#");
|
---|
| 47 |
|
---|
| 48 |
|
---|
| 49 | so.addParam("allowScriptAccess", "always" );//"sameDomain");
|
---|
| 50 | so.write("my_chart_2");
|
---|
| 51 | </script>
|
---|
| 52 |
|
---|
| 53 | </body>
|
---|
| 54 | </html>
|
---|
| 55 |
|
---|