danidin

Members
  • Content count

    3
  • Joined

  • Last visited

Everything posted by danidin

  1. Server Side Chart Export - Suppress Log

    Hello, I'm having the same issue- I'm also using log4j, but the proposed solution does not work for me - I still see the log message in my console. Any suggestions? Thanks, Dani
  2. Hello, I'm trying to export a chart on the server side (Java) and I have a strange problem. Everything is working as expected, except that after the export is almost complete, and the chart image is saved on the server, I get a JavaScript error: invalid property id :"null",width:900,height:300,DOMId:"ab...}))) ; } catch (e) { "<undefined/>"; } This even happens when I try to export a chart using an example supplied in your website. One thing worth mentioning - I'm using an export handler JSP that I wrote, based on the one supplied in the fusion charts kit. The String that is being sent back by the JSP is: &width=900&height=300&DOMId=abc&fileName=http://DOMAIN/PATH/TO/IMAGE/FusionCharts.jpg&notice=&statusCode=1&statusMessage=successful so it looks good. It seems that the value that is returned from the server upon the export completion is not valid. I was not able to find the cause of this problem in the last 2 days, so I'd really appreciate and suggestions. I did see some people referring to identical or similar problems in the forum, but no solution was supplied. Thanks in advance. Dani
  3. Thanks for the quick response. Actually I figured it out by myself - the problem was that the JSP I wrote to handle the export request has import statements for other classes, and each import statement was in a separate line. I guess that the white space of the new line was sent back to the output stream of the JSP and this caused the problem. If the response was trimmed on the client side before it was used the problem might have been prevented. Dani