Sign in to follow this  
turtle_frog

PHP Class or XML for generation of charts

Recommended Posts

Hi,

 

 

 

I'm trying to decided the best way to create my charts. I want to create a page (I use php) with an interactive chart. That is you can choose the type of chart and it changes via ajax, no reloading of the page.

 

 

 

Now, Shall i generate my charts using the PHP Class or create my own XML feed?

 

 

 

is there disadvantages / advantages (or limitations) of either of these methods??

 

 

 

Thx!!!

Share this post


Link to post
Share on other sites

Hi turtle_frog,

If you want to change the xml only then you can use our setDataXML() or setDataURL() method.

But if you want to change the chart type and other properties then you can use ajax and php class.

but beware of two things.

1.ajax resopons must be text type.

2.call method renderChart(true) to render the chart in ajax called page.

for details you may go through the links http://www.fusioncharts.com/docs/Contents/PHPClassAPI/Functions.html#rendering

http://www.fusioncharts.com/docs/Contents/JS_API.html

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