FusionCharts Forum: Javascript to modify dataURL - FusionCharts Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Javascript to modify dataURL

#1 User is offline   torres88 

  • Forum Newbie
  • Group: Members
  • Posts: 2
  • Joined: 14-February 10

Posted 14 February 2010 - 06:27 PM

Hi guys,



I'm having trouble modifying the xml file that my chart reads in.

I have 2 files, labeled file1.xml and file2.xml that both reside in the same directory as my chart page (code provided below).



I am attempting to alter what xml data is used to generate the chart but am having difficulty.

Any help provided is greatly appreciated..





HEAD CODE

----------------------------













---------------------------



BODY Code

----------------------



FusionCharts











------------------------------------------
0

Other Replies To This Topic

#2 User is offline   Madhumita 

  • Supreme Being
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1434
  • Joined: 04-September 09

Posted 14 February 2010 - 10:46 PM

Hello,



Welcome to FusionCharts Forum. :)



Could you please try using chart1.setDataURL("file1.xml"); instead of chart1.dataURL=("file1.xml"); ?



Hope this helps you.
Regards,
Madhumita Chakraborty

Follow us on Twitter :)
0

Other Replies To This Topic

#3 User is offline   torres88 

  • Forum Newbie
  • Group: Members
  • Posts: 2
  • Joined: 14-February 10

Posted 18 February 2010 - 04:43 PM

Sorry that doesn't seem to work.



I have attatched a copy of the html below

Attached File(s)


0

Other Replies To This Topic

#4 User is offline   Rajroop 

  • FusionCharts Team
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1803
  • Joined: 19-May 09

Posted 19 February 2010 - 03:35 AM

Hey,



Could you please verify whether you have set the correct path for the dataURL and the .swf file? That is to say, whether the .swf and the file1.xml file(s) actually exist there or not?



Looking forward to your reply. :)
Regards,

Rajroop Bhaduri

FusionCharts Team

Help us improve our documentation with your precious feedback at:
http://documentation...sioncharts.com/

Follow us @Twitter
0

Other Replies To This Topic

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic