Home Forums Chart Support change the background color

change the background color

Viewing 3 posts - 1 through 3 (of 3 total)
  • #42221

    how to change the bgcolor of the chart?
    (in a simple CSS “bgcolor” it doesn’t work)
    thank you!

    #42222

    @shosh,

    You can change the background-color of the chart by setting backgroundColor property.
    JavaScript Chart with Background Color

    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

    #42224

    thank u so much!! 👍

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.