Sign in to follow this  

Error while plotting 3-d Pie chart

Recommended Posts

hey all,

  Im trying to plot a 3d Pie chart using the "Using FusionCharts with PHP > Plotting data from a database"

example given in the documentation.. Im able to retrieve data but the chart isnt rendered on the web page.. I get the following error "FusionCharts is not defined".

When i right clicked on the page and viewed the source  , this was the line that had the error:

"var chart_mystats = new FusionCharts("/FusionCharts/Pie3D.swf", "mystats", "600", "300", "0", "0");
Here is my directory structure:
/ public_html / myproj/FusionCharts.php
/ public_html / myproj/FusionCharts/FusionCharts.js
/ public_html / myproj/FusionCharts/Pie3D.swf
What could be the problem???

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this