Sign in to follow this  
w424637

Column Chart Transparency

Recommended Posts

Having real trouble getting my column chart to be transparent

The background is still striped one in my background color the other not

 

I'm using this in php to provide the params for it

 

#Store chart attributes in a variable

$strParam="caption=Trading Profit Split;bgColor=262626;bgAlpha=100;canvasbgColor=262626,262626;canvasbgAlpha=100,100 ;";

 

 

would really like some help

 

thanks

SImon

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

Welcome to FusionCharts Forum!smile.gif

First of all, we would like to thank you for showing interest in FusionCharts.

You can create charts with transparent backgrounds. This makes the chart show to what lies below it in HTML. To do this you need to follow these steps:

  • In the chart's XML data, set <chart ... bgAlpha='0,0' ..>
  • In the renderChart/renderChartHTML function set allowTransparent parameter to true.

For more details, please visit the link: http://www.fusioncha...tml#transparent

Hope this helps.smile.gif

Share this post


Link to post
Share on other sites

Hi

 

Ive read that and followed it.

 

I still get a stripe on the Canvas of the chart.(one stripe background / 1 stripe grey etc)

 

This is the code:

 

#Store chart attributes in a variable

$strParam="caption=Wagering Profit (WSP);bgAlpha=0,0;canvasbgAlpha=0;";

 

I have tried

 

#Store chart attributes in a variable

$strParam="caption=Wagering Profit (WSP);bgAlpha=0,0;canvasbgAlpha=0,0;";

 

 

AND my render code

 

echo renderChart("FusionCharts/FusionCharts/Column2D.swf", $strDataURL, "", "chart1", 300, 200, false, true, true);

 

Whats left to change?

 

thanks

Simon

Share this post


Link to post
Share on other sites

Further attempts - very frustrated.

 

If I make the chart a Column3D - the Canvas background will become transparent.

 

If I make it Column2D - the Canvas is striped.

 

What is the difference here?

 

Something else needs to be adjusted for a 2D chart but I don't know what?

 

S

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

We are glad to know that you have managed to resolve your issue.

 

Keep smiling and keep FusionCharting!smile.gif

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