Sign in to follow this  
sseeky

Setjsonurl(Url) With Http Method Post

Recommended Posts

i'am using method : setJSONUrl(url) to get json data from server.

but there is huge data to pass to server.

as method "setJSONUrl" is using "http method GET" to send request, url than be no more than 1024 characters.

Is there a way to use "http method POST" to send plenty data to server?

Edited by sseeky

Share this post


Link to post
Share on other sites
Guest Sumedh

i'am using method : setJSONUrl(url) to get json data from server.

but there is huge data to pass to server.

as method "setJSONUrl" is using "http method GET" to send request, url than be no more than 1024 characters.

Is there a way to use "http method POST" to send plenty data to server?

 

 

Hi,

 

Before creating a chart, can you create a AJAX POST request?

 

Create an AJAX POST request and pass it into a variable.

 

Pass this variable into setJSONData function.

 

For more information, please refer the following URL:

http://docs.fusioncharts.com/charts/contents/?JavaScript/API/Methods.html

 

Till then, we will get back to with a feedback from our developers.

 

Share this post


Link to post
Share on other sites

Do you mean , Create an AJAX POST request and get the response data from server. then pass the data to fusioncharts? that works, but fetch data from server takes a bit long time, if i am fetching data with an AJAX POST, fusioncharts won't show progress bar correctly( cause fusion chart takes no time ).

 

Hi,

 

Before creating a chart, can you create a AJAX POST request?

 

Create an AJAX POST request and pass it into a variable.

 

Pass this variable into setJSONData function.

 

For more information, please refer the following URL:

http://docs.fusionch...PI/Methods.html

 

Till then, we will get back to with a feedback from our developers.

 

Edited by sseeky

Share this post


Link to post
Share on other sites
Guest Sumedh

Do you mean , Create an AJAX POST request and get the response data from server. then pass the data to fusioncharts? that works, but fetch data from server takes a bit long time, if i am fetching data with an AJAX POST, fusioncharts won't show progress bar correctly( cause fusion chart takes no time ).

 

 

 

Hi,

 

Internally, FusionCharts uses AJAX request for rendering the chart.

 

The time taken by this request to complete will be the same.

Share this post


Link to post
Share on other sites

but, if FusionCharts load data itself, the chart will display "loading progressbar".

 

I want to show the progressbar when i am loading data from server.

Hi,

 

Internally, FusionCharts uses AJAX request for rendering the chart.

 

The time taken by this request to complete will be the same.

Share this post


Link to post
Share on other sites
Guest Sumedh

but, if FusionCharts load data itself, the chart will display "loading progressbar".

 

I want to show the progressbar when i am loading data from server.

 

 

Hi,

 

If you want to display progress bar, then you would need to use GET request only.

 

Showing progress bar using POST request is not possible.

 

Thanks for your time.

Share this post


Link to post
Share on other sites

it there an api, that i can force fusioncharts to show/hide progressbar? then i can manually controll progressbar out of fusioncharts.

Hi,

 

If you want to display progress bar, then you would need to use GET request only.

 

Showing progress bar using POST request is not possible.

 

Thanks for your time.

Edited by sseeky

Share this post


Link to post
Share on other sites

any idea?

 

it there an api, that i can force fusioncharts to show/hide progressbar? then i can manually controll progressbar out of fusioncharts.

 

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
Sign in to follow this