Sign in to follow this  
MrTIMarshall2512

Remove Default White Background

Recommended Posts

Hiya Everyone,

 

Reference JSFiddle

 

I am trying to fully remove the default SVG background which is white. Browsing the documentation and online finding these forums, I came across several answers which seem to be chart specific providing the following solutions which worked for the person asking the question however have not worked for myself;

"canvasBgAlpha": "0"
"containerBackgroundOpacity": "0"
"bgAlpha": "0"

Is it possible to completely remove the default white background on the Fusion Maps?

 

Thank you,

Tim

Share this post


Link to post
Share on other sites

 

Hi,

 
Yes it is possible to change the background color of the map by setting this attribute
"bgcolor":"hexcode".

 

For further information regarding this please check the fiddle link 

 
Hope this helps.

 

 

 

Hiya and thank you for your reply!

 

I'm more wanting to have no background whatsoever rather than setting a background.

 

Best Regards,

Tim

Share this post


Link to post
Share on other sites

Hi,

 
Thanks for replying back.
 
Can you please elaborate your query so that I can help. Do you want to change the background using css? If you don't want to use "bgcolor" attribute you can alternatively use  containerBackgroundOpacity :'0' and set your background as per your div.

For further information regarding this check this fiddle link
http://jsfiddle.net/ayanbhaduryfc/FxgCD/39/
 
Hope this helps.

Share this post


Link to post
Share on other sites

 

Hi,

 
Thanks for replying back.
 
Can you please elaborate your query so that I can help. Do you want to change the background using css? If you don't want to use "bgcolor" attribute you can alternatively use  containerBackgroundOpacity :'0' and set your background as per your div.

 

For further information regarding this check this fiddle link

http://jsfiddle.net/ayanbhaduryfc/FxgCD/39/

 
Hope this helps.

 

 

Works perfectly! Thank you :)

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