Pregunta

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

¿Fue útil?

Solución

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.

Otros consejos

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
};
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top