chart_pie3d
Show a pie chart with 3D effect.
This scomp is just a convenient interface to the {% chart_pie %} scomp with the “threed” argument set to true.
For example:
{% chart_pie3d data=[["firefox",23], ["internet explorer", 67], ["safari",4], ["chrome",3], ["other", 3]] %}Gives:
<img class='google_chart' alt='google chart' src='http://chart.apis.google.com/chart?&cht=p3&chts=909090,10&chs=300x150&chg=0,0,1,5&chf=bg,s,ffffff|c,s,ffffff&chdlp=b&chbh=-3,3,7&chxt=x&chxl=0:|firefox|internet explorer|safari|chrome|other&chxs=0,909090,10&chco=&chds=0,100&chd=t:23,67,4,3,3&chls=1,1,0' width='300' height='150'/>
See also {% chart_pie %} and {% google_chart %}.
This page is part of the Zotonic documentation, which is licensed under the Apache License 2.0.
Comments
Sanket
Posted 1 year, 2 months ago.
The example should read
{% chart_pie3d ..........
Marc Worrell
Posted 1 year, 2 months ago.
Thanks, I corrected the example.