angular-google-chart icon indicating copy to clipboard operation
angular-google-chart copied to clipboard

Material BarChart background not working

Open bazookon opened this issue 6 years ago • 1 comments

backgroundColor or any other color change not working, this is my options object

this.charOptionsStat = { backgroundColor:"#333" }

I'm trying to make like a darkmode, thanks

bazookon avatar Oct 24 '19 20:10 bazookon

I wrote this a while back... it converts options from the old chart types to the Material versions.

https://codepen.io/nbering/pen/Kddvge

Looks like if you give it that option, looks like it's converting it to:

{
  "chart": {
    "style": {
      "background": {
        "fillColor": "#33333"
      }
    }
  }
}

nbering avatar Oct 24 '19 20:10 nbering