是否可以在 Google Chart PieChart 切片中显示值而不是百分比?
谢谢
最佳答案
是的。你可以。只需在选项中设置 pieSliceText
即可,如下所示
var options = {
width: 450,
height: 300,
title: 'My Daily Activities',
pieSliceText: 'value'
};
文档:http://code.google.com/apis/chart/interactive/docs/gallery/piechart.html#Example
关于javascript - 谷歌饼图 : How to show values instead of percentage?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9324219/