Sign in to follow this  
trojnfn

Dynamic XML

Recommended Posts

I am new to fusion charts. I use coldfusion to gather data and then output to fusion charts.

In looking over the documentation and examples, it seems the xml data all seem to be hardcoded ? Is there a way to dynamically generate all those values ?

Instead of <category label= "name 1">, twelve times, etc., can I dyanicamlly do it with CF as <category label="#qryName.variable#">, so that it will give me twelve different names for the x axis ?

Same question for the <set value="701">, can it be <set value="#qryName.value#">, dynamicaly pluggin in the value ?

Share this post


Link to post
Share on other sites
Guest Rajroop

Hello :),

 

 

 

FusionCharts necessarily needs its data in pre-defined XML format. FusionCharts cannot read any other format apart from XML.

 

So, we need to convert this data into XML.

 

 

 

However, you can give a dynamic data source. Please refer to the following documentation page:

 

 

 

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

 

 

 

For further information, please visit the link http://www.fusioncharts.com/docs and refer to the Using With ColdFusion section on the Left Hand Menu panel.

 

 

 

I hope this helps. :)

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