You must be logged in to post your query.
Home › Forums › Chart Support › change the background color
how to change the bgcolor of the chart? (in a simple CSS “bgcolor” it doesn’t work) thank you!
@shosh,
You can change the background-color of the chart by setting backgroundColor property.
If you like to set gradient or image as the background, you can set backgroundColor property to transparent & set css background property to the chart-container. Please take a look at this JSFiddle for an example.
— Vishwas R Team CanvasJS
thank u so much!! 👍
You must be logged in to reply to this topic. Login/Register