steveddei

Dynamically Create Multiple Charts

Recommended Posts

I would like to create a table with a list of users and a chart corrisponding to that users data activity.

Since my users will vary, how would i go about dynamically creating a chart for each user found in my db. I am using FC v3 and PHP Class.

Getting the queries is no problem, just need help with my loop where i dynamically create the chart.

Thanks.

Share this post


Link to post
Share on other sites
Guest Rajroop

Hello,

Welcome to the FusionCharts Forum. :D

When dynamically creating the chart from the list of users on the side, you have to create the XML within the loop and keep the chart outside it.

Could you please take a look at the following links:

http://www.fusioncharts.com/docs/Contents/PHPClassAPI/PHPClass_DB.html

http://www.fusioncharts.com/docs/Contents/PHPClassAPI/PHPClass_Drill.html

I hope this helps. :D

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