[英]label for Google pie chart is missing
我正在使用 Google 餅圖來顯示信息,但缺少一個標簽,增加高度也不起作用。
這是我的代碼
var view = new google.visualization.DataView(data);
view.setColumns([0, 1,
{ calc: "stringify",
sourceColumn: 1,
type: "string",
role: "annotation" },
2]);
var options =
{
title: "",
pieSliceText: "none",
colors: ['#6f9643','#dcc591','#9487bf','#6f9693','#9d5434','#bfe1e0',
'#a8c08e','#a89fca','#efbfbf','#9fc4d6','#eaaa7a','#dcc591'],
bar: {groupWidth: "80%"},
legend: {
position: "labeled",
textStyle:{bold:true, fontSize: 11}
},
height: 500,
width: 900,
chartArea:{width:'85%',height:'80%'},
backgroundColor: { fill:'transparent' },
is3D:true
};
提前致謝!
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.