在谷歌图表中,对于饼图,只需添加即可轻松带来 3D 视图'is3D':true
。但是我们如何能够获得条形图、柱形图和组合图的 3D 效果,如本演示所示
问问题
17364 次
4 回答
4
Since I can find the 3D option in Visualization: Column Chart (Old Version) and base on the answer.
Looks like the 3D option of column chart (and others) is not available with new version of Core Charts
.
于 2012-08-24T09:26:11.773 回答
2
is3D: true
不幸的是,它不适用于柱形图。
于 2013-07-19T09:49:13.947 回答
0
还需要将“corechart”替换为“columnchart”
google.load("visualization", "1", { packages: ["columnchart"] });
google.setOnLoadCallback(drawChart);
于 2014-04-28T20:47:25.067 回答
-3
添加以下内容:
is3D: true
例如:
var options = {
title: 'My Pie Chart',
is3D: true
};
于 2013-04-14T10:24:57.810 回答