Sign in to follow this  
CodeMunkey

Doughnut2D Ignoring Bg Attributes

Recommended Posts

I am using fusioncharts 3 with php. Setting the bgColor to #757575. The bgcolor will render with a hint of grey, but not as dark as should be. This same code works when switching to Pie3D.swf.

 

In trying to find a solution, I tried to set the bgAlpha attribute but it seems to ignore that entirely (tried at both 0 and 100 values).

 

Is there an updated version of this Doughnut2D.swf or some other solution? This is the design as was dictated to me so I do not have a lot of room for variance in the chart design.

 

Also, on a side note, you guys should add some string escaping to the xml string passed into renderChart() function in PhP.

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Welcome to FusionCharts Forum!smile.gif

 

Could you please send us the generated XML code to look into the issue?

 

Awaiting for your response.

Share this post


Link to post
Share on other sites

Hi,

 

Welcome to FusionCharts Forum!smile.gif

 

Could you please send us the generated XML code to look into the issue?

 

Awaiting for your response.

 

<chart legendBgColor="757575" baseFontColor="FFFFFF" bgColor="757575" showvalues="1" showlegend="1" enablesmartlabels="1" showlabels="1"><set value="1" label="Failed"/></chart>

Share this post


Link to post
Share on other sites

in that above code, the bgcolor for the legend will appear correctly. the bgcolor for the rest of the chart will not. like i said, using the bgalpha attribute did not yield any results either

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