3D Pie Chart pieStartAngle: 180 'breaking' the Pie Chart

67 views
Skip to first unread message

Chris

unread,
Nov 19, 2015, 10:18:24 AM11/19/15
to Google Visualization API
I am trying to use the option "pieStartAngle" in order to rotate a 3D PieChart.

var pieOptions = {
          'title':'Thousand barrels daily in '+selectedYear+". Total World: "+csv[csv.length-1][selectedYear],
          'width':600,
          'height':300,
          is3D : true,
              
          pieStartAngle: 180,

          chartArea : {left:20, top:45}
      };


The problem is that while the option is indeed rotating the Pie chart, the opposite side of it gets 'Broken'. 

To understand what it means, Visit ->  http://ltw1556.web.cs.unibo.it/foo.html and to display the PieChart click on any of the Bars in the BarChart ....

Is it something I have been doing wrong or the PieChart library is not designed to do this kind of job?

Daniel LaLiberte

unread,
Dec 2, 2015, 11:09:31 AM12/2/15
to Google Visualization API
Chris,

The 3D PieChart is in need of major reconstructive surgery.  The underlying pseudo-3D techniques being used are fairly fragile, so, as you say, it's not really designed to do this kind of job.  We hope to provide more general and correct 3D rendering capability in the future, but it will be a while before we can get to it.

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/aaefefa9-99ef-4d62-8b60-e7fe8f4c9cee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
dlaliberte@Google.com   5CC, Cambridge MA
daniel.laliberte@GMail.com 9 Juniper Ridge Road, Acton MA
Reply all
Reply to author
Forward
0 new messages