FusionCharts Forum: chart.setDataURL() and URL parameters - FusionCharts Forum

Jump to content

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

chart.setDataURL() and URL parameters

#1 User is offline   daapl 

  • Forum Newbie
  • Group: Members
  • Posts: 9
  • Joined: 22-February 07

Posted 22 February 2007 - 06:07 AM

I can't seem to set a data URL that contains URL parameters.

E.g: chart.setDataURL("data.php?gender=male&from=usa");



The above statement will not fetch the data with the parameters, but instead trim it down to run as:

chart.setDataURL("data.php");



How can I use parameters in my data URLs ?
0

Other Replies To This Topic

#2 User is offline   Pallav 

  • FusionCharts Team
  • Group: Administrators
  • Posts: 2386
  • Joined: 08-December 06

Posted 24 February 2007 - 03:38 AM

You'll need to URL-Encode the entire dataURL (that contains additional parameters), before specifying it to setDataURL method.
Thanks,
Pallav Nadhani
Co-founder & CEO, FusionCharts Team
0

Other Replies To This Topic

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