Sign in to follow this  
smokinguns

3d-Pie chart rendering problem

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". The XML seems to be having the right data from the Database..

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???
here is the
 

Share this post


Link to post
Share on other sites

hey pallav,

here is my directory structure

/public_html/myproj/FusionCharts/FusionCharts.js

/public_html/myproj/FusionCharts/Pie3d.swf

I have included FusionCharts.js in my html page which is:

/public_html/myproj/charts.html

and this is my php page

/public_html/myproj/charts.php

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