jhning

Members
  • Content count

    5
  • Joined

  • Last visited

Everything posted by jhning

  1. I need to export the bitmap stream of data from the fusionchart to the export handler in Java to render it as an buffered image to be exported on the response output stream. According to what i've read, FusionCharts uses POST method to send data to the server export handler. Pardon me for my lack of expertise, but what are the parameters being passed and how do i obtain it? I will need the width, height, bg colour and the image data stream. Just by indicating exportHandler='FCExporter.java in the xml file so that i can get these (below)? Or? public void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { int width = Integer.parseInt(req.getParameter("width")) ; int height = Integer.parseInt(req.getParameter("height")); String bgColorStr = req.getParameter("bgcolor"); String data = req.getParameter("data"); ...} I need the advice. Will appreciate the help! Thank you!
  2. what about now? is it possible?
  3. Thank you for the link. So when is all these parameters passed over in the HTTP payload? It is only when "save" is clicked on the context menu? Is there anyway to get these parameter by an event without having to get the user to click? Perhaps to automate the clicking of "save" on the context menu? My idea is to let my users will click a universal "print" button that will invoke this exportation that invokes the parameters to be passsed over in the http payload. Thankyou!
  4. invoke FusionChartSave from jsp

    Is it possible to do it on the client side too? That is to get the image without user input. My idea is to open another window from the original link, replacing the fusion chart with the image that is exported. Is it possible to do so without touching the server side? Thank you!