Multiple URL parameters passed in .setDataURL does not work???
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Multiple URL parameters passed in .setDataURL... Expand / Collapse
Author
Message
Posted 8/23/2008 8:26:54 AM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: 9/8/2008 5:46:34 PM
Posts: 17, Visits: 21
Hi,

I need to pass two URL parameters via the "setDataURL" method, however when I set more than 1 (one) parameter it seems the 2nd is not recognised. For example I have the following in the view:

categoriesChart.setDataURL("/graph/categories?begin_date=xxx&finish_date=ttt");

When the fusionchart calls ther server to get the data the only URL parameters are: "begin_date"=>"xxx", "FCTime"=>"222" (i.e. the "finish_date" is missing).

Is there a way to work around this? That is how can I pass more than one URL parameter back to my server when the fusion chart goes back to get the XML data?

Thanks
Post #8123
Posted 8/24/2008 11:55:23 PM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: Today @ 7:54:06 AM
Posts: 644, Visits: 1,948
hi,
  could you please use encoded url and try again.

  var dataUrl=escape("/graph/categories?begin_date=xxx&finish_date=ttt");
  categoriesChart.setDataURL(dataUrl);

Thanks,
Arindam

FusionCharts Team
www.fusioncharts.com

Post #8131
Posted 8/25/2008 1:49:29 AM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: 9/8/2008 5:46:34 PM
Posts: 17, Visits: 21
Excellent. Thanks. This works nicely.
Post #8144
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -7:00, Time now is 2:55pm


Execution: 0.047.