Multiple charts within one XML-file
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Multiple charts within one XML-file Expand / Collapse
Author
Message
Posted 3/28/2008 4:28:01 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 4/1/2008 2:30:30 PM
Posts: 1, Visits: 5
Hi,

does anyone know how to create multiple charts within one html-file from one xml-file which contain more than one chart nodes??

example xml:











































I'm thinking of parsing the xml-file containing multiple chart nodes with JavaScript but isn't there any built in solution for my problem?

How do I create nested charts like the example on http://www.fusioncharts.com/Demos/Blueprint/ ?

thx for any help!
Ingo
Post #5309
Posted 3/29/2008 3:53:43 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: 2 days ago @ 4:56:35 AM
Posts: 706, Visits: 1,143
Hi,

YOu can use this javaScrip to split a string having multiple chart XML into an array

var arrXML=yourBigXML.match(/<chart.+?<\/chart>/g);

Regards,

Sudipto Choudhury
FusionCharts Team

Post #5324
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -7:00, Time now is 5:17am


Execution: 0.125.