答案 0 :(得分:1)
var view = new google.visualization.DataView(data);
view.setColumns([0, 1,
{ calc: "stringify",
sourceColumn: 1,
type: "string",
role: "annotation" },
2]);
chart.draw(view, options);
如果标签太大而无法完全放入栏内,则会在
外面显示编辑:这里有一些改变谷歌示例:https://jsfiddle.net/27zg15zh/