Shawn H

Data Url : Provided Vs. Invoked

Recommended Posts

Hi we just upgraded to FusionCharts XT and have come across a problem with how Data URLs are handled.

 

Example I have a URL that has encrypted parameters, so some of these characters have to be encoded

 

//This is an example URL with params I provide to fusion charts
somepage?EN_KHbRN%252BYbpC%252Fdfy5rwjm4vw%253D%253D=AI%252FuxAVVksE%253D

//This is what Fusion Charts Javascript will call. Which is correct
somepage?EN_KHbRN%2BYbpC%2Fdfy5rwjm4vw%3D%3D=AI%2FuxAVVksE%3D

//this is what the flash chart will call which is totally wrong.
somepage?EN_KHbRN YbpC/dfy5rwjm4vw===AI/uxAVVksE=

 

Any ideas on a solution to this problem?

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Welcome to FusionCharts Forum! smile.gif

 

Could you please confirm whether you are using HTML embedding method to render FusionCharts?

 

Awaiting for your response.

Share this post


Link to post
Share on other sites

Not sure what you mean but this is how I'm rendering.

 

var chart1 = new FusionCharts("/static/common/fusioncharts/Charts/Area2D.swf", "FChart", "405", "300", "0", "1");
chart1.setChartDataUrl(url, 'xml' );
chart1.render("FChartDiv");

Share this post


Link to post
Share on other sites

Not sure what you mean but this is how I'm rendering.

 

var chart1 = new FusionCharts("/static/common/fusioncharts/Charts/Area2D.swf", "FChart", "405", "300", "0", "1");
chart1.setChartDataUrl(url, 'xml' );
chart1.render("FChartDiv");

 

Hey there,

 

Are you checking this while running your files locally (file:// protocol)? If yes, try running your app from a server and check if this helps.

 

Hope this helps. :)

Share this post


Link to post
Share on other sites

Hey there,

 

Are you checking this while running your files locally (file:// protocol)? If yes, try running your app from a server and check if this helps.

 

Hope this helps. :)

 

 

No, this is running on a server.

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