Sign in to follow this  
Lekshmi

Chart Cannot Be Downloaded As Jped And Png Image

Recommended Posts

Hi,

 

While downloading the chart as png or jpeg image, I am facing error like this.

 

width=0

height=0

DOMId=PrimaryChart

statusMessage= Unable to encode buffered image.

statusCode=0

 

Can anyone give solution?

 

Thank you.

Share this post


Link to post
Share on other sites
Guest Sumedh

Hi,

 

Could you please paste your sample code and XML here?

 

It would be helpful to look into the issue.

 

Awaiting your response.

Share this post


Link to post
Share on other sites

I am using Fusioncharts in JSP. It is working fine in windows server. I am facing this problem in image export in Linux Server. Anything needed to be set in linux settings for solving this pblm?

 

Thanks in advance.

 

Hi,

 

Could you please paste your sample code and XML here?

 

It would be helpful to look into the issue.

 

Awaiting your response.

Share this post


Link to post
Share on other sites

I am using Fusion charts in JSP. The problem exists in Linux server.

 

Can anyone help?

 

Thanks in advance

 

 

You need to have GD and ZLib libraries installed with PHP

Share this post


Link to post
Share on other sites
Guest Sumedh

Hey,

 

Could you please paste your exporting code here?

 

It would be helpful to look into it.

Share this post


Link to post
Share on other sites

Hi

 

I am using Fusion charts in JSP. I am facing the problem in Linux Server. In windows server , its easily downloaded as image. But in Linux server, the following error comes while downloading the chart as png or jpeg image.

 

width=0

height=0

DOMId=PrimaryChart

statusMessage= Unable to encode buffered image.

statusCode=0

 

 

This is the sample code.

 

<%

String strXML="<chart><set label='Item A' value='4' /> <set label='Item B' value='5' /></chart>";

%>

<div id="chart1">

<jsp:include page="/JSP/Includes/FusionChartsRenderer.jsp" flush="true">

<jsp:param name="chartSWF" value="/chart/FusionCharts/Pie2D.swf?ChartNoDataText=No Data" />

<jsp:param name="strURL" value="" />

<jsp:param name="strXML" value="<%=strXML%>" />

<jsp:param name="chartId" value="chart1" />

<jsp:param name="chartWidth" value="225" />

<jsp:param name="chartHeight" value="185" />

<jsp:param name="debugMode" value="false" />

<jsp:param name="registerWithJS" value="true" />

<jsp:param name="wMode" value="transparent" />

</jsp:include>

</div>

 

 

Anything needed to be set in Linux setting for solving this problem?

 

Can anyone give solution?

 

Hey,

 

Could you please paste your exporting code here?

 

It would be helpful to look into it.

Share this post


Link to post
Share on other sites
Guest Bindhu

Hi,

 

We are looking into it and would get back to you as soon as possible.

 

Thank you for your continued support and patience.

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