Sign in to follow this  
unicron

useRoundEdges breaks Save as Image

Recommended Posts

I am using Line, Pie, and Column charts.

 

 

 

"Save as Image" works great using FusionChartsSave.jsp for Line and Pie.

 

 

 

Column charts are broken, however.

 

 

 

After capturing image data from Column charts, a java.lang.NullPointerException is thrown if useRoundEdges='1'.

 

 

 

If I change useRoundEdges to 0, then the image save will work fine.

Share this post


Link to post
Share on other sites

Just found out the issue - useRoundEdges is producing a request with data that was too large for the server settings, so it rejected it and returned null.

 

 

 

We increased the max size and can now get all charts to save as image.

Share this post


Link to post
Share on other sites

I had to get one of the smart devs to set it, but I think the server param for Grails was Request.maxFormContentSize

 

 

 

The server default was 200KB and I would get java.lang.IllegalStateException: Form too large 823463>200000 in the command line.

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