Sign in to follow this  
pekem

50 charts but only one xml-file

Recommended Posts

I want to show the economy for each of 50 different countries as a 3DPIE, so when I click on each country - either on a map or as text - the 3DPIE will redraw itself with the new value input.

 

I really think its a little to much having to publish 50 different xml-files.

 

So how do I do that in just one xml-file.

Share this post


Link to post
Share on other sites

Hello,

You could consider using server side scripting to do this.

One approach would be to use AJAX to parse the XMLs, split them and then store them into an array with 50 elements.

Then the XMLs can be fetched from the array, depending on whichever country is clicked on.

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