Remove padding or margins from Google Charts

前端 未结 6 1918
礼貌的吻别
礼貌的吻别 2020-12-12 13:45



        
6条回答
  •  时光取名叫无心
    2020-12-12 14:16

    I am quite late but any user searching for this can get help from it. Inside the options you can pass a new parameter called chartArea.

            var options = {
            chartArea:{left:10,top:20,width:"100%",height:"100%"}
        };
    

    Left and top options will define the amount of padding from left and top. Hope this will help.

提交回复
热议问题