문제

In google chart, for pie-chart it is easy to bring 3D view by just adding 'is3D':true. But how we can able to get 3D effects for bar, column & combo charts, shown in this demo

도움이 되었습니까?

해결책

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.

다른 팁

is3D: true

does not work for Column Charts unfortunately.

also need to replace "corechart" by "columnchart"

google.load("visualization", "1", { packages: ["columnchart"] });
google.setOnLoadCallback(drawChart);

Add the following:

is3D: true

For example:

var options = {
    title: 'My Pie Chart',
    is3D: true
};
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top