Google Chart Background Color

后端 未结 8 1244
北海茫月
北海茫月 2020-12-09 07:45

I\'m styling a google chart using the javascript api. I want to change the background of the area where the data is plotted. For some reason when I set background options li

8条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-09 08:12

    pass the options like this

    var options = {
        title: 'title',
        width: 310,
        height: 260,
        backgroundColor: '#E4E4E4',
        is3D: true
    };
    

提交回复
热议问题