Stephen

Background color of Spark Column

Recommended Posts

Is there a way to remove the white background where the data plots show? I tried using bgColor and canvasBgColor and they are set to transparent with Alpha set to 0, but I can't seem to find how to change the background color where the columns are at. Any help?

Screen Shot 2018-05-30 at 5.09.25 PM.png

Share this post


Link to post
Share on other sites

Hi,

In order to set the canvas color same as the background either set the same hex code for canvasBgColor as you have applied for bgColor attribute or you could set the canvasBgAlpha as 0, and provide the color using only bgColor. A sample for reference -   http://jsfiddle.net/uyjjmofe/

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