vegetus

Members
  • Content count

    4
  • Joined

  • Last visited

About vegetus

  • Rank
    Forum Newbie
  1. Using "POST" method in Fusion Chart.

    Hi, The solution are here: http://forum.fusioncharts.com/topic/8143-method-post-setxmlurl/page__gopid__38554#entry38554 Thanks, Vinicius.
  2. Method Post - Setxmlurl

    Hi Sudipto Choudhury, There is a time, I stirred a part of the code FusionCharts.js, which added a new algorithm with the possibility of sending the variables via the POST method. I use the POST method when I have a great deal of variables to send to the server, the tool which has created various filters. The solution is to add the code in a particular place in FusionCharts.js. But that's not all. Have to move elsewhere in the code as well. x.open('POST', u, true); x.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); x.setRequestHeader("Content-length", serializeData); x.setRequestHeader("Connection", "close"); x.send(serializeData); For instance, calling this: var chart = new FusionCharts("../../Charts/Column2D.swf", "ChartId", "560", "400", "0", "1"); chart.setXMLUrl("../Data/XML/Col2D1.xml"); chart.setXMLUrl("generateXml.php", "POST", $(".input-default").serialize()); chart.render("chartdiv"); It will be very useful FusionCharts the company released a new version already contains the ability to send data via POST. Please see the attached file. Thanks, Vinicius. FusionChartsPost.zip
  3. Method Post - Setxmlurl

    Hi All, I had a big problem today. I sent the url with more than 10,000 characters for GET. I need the data to be sent to POST. Anyone have any idea how to send data in POST method, in setXMLUrl()? I got within 2 days to solve the problem. :-( Thanks, Vinicius
  4. Method Post - Setxmlurl

    Hi all, Can I change the "GET" to "POST" method when sending data from the server? In my project, there is a listbox with multiple selection, where I need to send the data (in array) via POST method. Thanks, Vinicius - Brazil.