Open flash chart not working
Posted
by Axel
on Stack Overflow
See other posts from Stack Overflow
or by Axel
Published on 2010-04-21T19:11:42Z
Indexed on
2010/04/21
19:13 UTC
Read the original article
Hit count: 704
I'm trying to implement Open Flash Chart in my website but it doesn't work. The chart just start loading for a second and the loader animation disappear and nothing happening (Only a black swf area). i've downloaded the latest version which is 2 and here is my folders scheme:
// ROOT //
? JS
? open-flash-chart
? php-ofc-library
- open-flash-chart.swf
- mydata.php
- mypage.html
This is mydata.php
content:
{"elements":[{"type":"bar","values":[1,2,3,4,5,6,7,8,9]}],"title":{"text":"Wed Apr 21 2010"}}
This is mypage.html
content:
<script type="text/javascript" src="js/swfobject.js"></script>
<script type="text/javascript">
swfobject.embedSWF("open-flash-chart.swf", "my_chart", "550", "200","9.0.0", expressInstall.swf", {"data-file":"mydata.php"} );
</script>
<div id="my_chart"></div>
The JS
folder contain swfobject and the open-flash-chart
folder contain the action script classes of the chart
Is there any mistake i did?
Thanks
© Stack Overflow or respective owner