Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: Pies are "gravity" aware

  1. #1
    Join Date
    Oct 2012
    Posts
    11

    Default Pies are "gravity" aware

    I realized pie charts are aware of gravity, so to speak. I mean, if there are two values represented, the higher number balances the charts towards it. Is really awkward when trying to make a dashboard constant, since numbers in the pie charts are slanted all over the place.

    Is there a way of stopping this from happening?

    In the attached image, you can see what I'm talking about. The transparent arrow shows the direction the pie is rotated, and is more pronounced when the difference between one value and the other are higher.

    Many thanks for your help

    Name:  pies_gravity.jpg
Views: 14
Size:  28.5 KB

  2. #2
    Join Date
    Oct 2012
    Posts
    11

    Default

    Well, I fixed the most disturbing (Red in image above) by using pie_startAngle = function(d) {d * Math.PI} extension point. But if I do the same to the others, they break down.

    Any ideas ?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.