yamini

Gantt Chart - Exporting Image/pdf Limitations

Recommended Posts

Hi,

 

We are using Gantt charts to list around 500 processes. Thee is no issue in rendering of the chart. But when I try to 

save the chart as image at server side using the Server-side Export Handler - J2EE, When the process list is below 50, the image is exported properly and saved. The image is not generated or blank image is saved when the processes are more than 60-70. Can you please let us know whether there is some limitation?

 

Following error messages are found in the logs, when the process list is large.

 

 

[com.fusioncharts.exporter.error.ErrorHandler]|[iNFO]|[87]|: Errors=<BR>statusMessage= Width/height not provided. Insufficient data.Background Color not specified. Taking White (FFFFFF) as default background color.<BR>statusCode=0|
[15:21:36:897]|[04-30-2013]|[com.fusioncharts.exporter.error.ErrorHandler]|[iNFO]|[87]|: Notices=|
[15:21:36:897]|[04-30-2013]|[com.fusioncharts.exporter.error.ErrorHandler]|[iNFO]|[87]|: Miscellaneous Messages=<BR>width=0<BR>height=0<BR>DOMId=null

 

 

Note: Earlier we were using the licensed version 3_1. We also now tried using the latest v3.3.1 and tried whether the problem is solved. But the same problem persists. 

 

Can you please advice on this?

 

Regards,

Yamini

 

Share this post


Link to post
Share on other sites

Hi,



We have checked and found that there is no issue on server side but it seems to be issue while getting compressed bitmap data from FusionCharts before sending it to the server for converting the same into image.



We tried to find the parameters(& their values) sent to server using a firebug add-on enabled and we happened to see that compressed bitmap data param "stream" was fine with first 2 pie charts(refer fusion-chart-success.png attached) but where as for the waterfall chart with more than 100 processes (on the same web page) seems to contain many "undefined" words in it(refer fusion-chart-failure.png attached).



Because of this it seems to throw below exception on server side while converting bitmap to image



[17:49:39:176]|[05-10-2013]|[com.fusioncharts.exporter.generators.ImageGenerator]|[iNFO]|[38]|: Creating the Chart image|

[17:49:39:176]|[05-10-2013]|[com.fusioncharts.exporter.generators.ImageGenerator]|[sEVERE]|[38]|: Image data is not in proper format:java.lang.NumberFormatException: For input string: "undefined"|



So please tell us a fix for it asap as a customer of us is waiting on it for a quite long time.

 

Regards,

Yamini

 

 

Can you please check if there is a POST DATA size limit set  at your server?

 

post-12568-0-00948800-1368190796_thumb.png

post-12568-0-12130400-1368190893_thumb.png

Share this post


Link to post
Share on other sites
Hi Yamini,

 

Apologies for delay. :(

 

The Flash charts have limitation that the dimensions of the chart should be within 2880px of height and 2880px of width for a chart to get exported properly.  Since, your chart had dimensions greater than the said dimensions, the chart was not getting exported properly.

 

As a suggestion, you may use JavaScript variant of Gantt chart. In JS variant of Gantt chart, the above mentioned limitation is not present for exporting the charts.

 

Hope this helps. :)

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