Skip to content

Commit

Permalink
pie chart fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gka committed Jul 18, 2016
1 parent 518f904 commit efd805c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/visualization-pie-chart/static/pie-chart.js
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@
if (me.getFullArc() < TWO_PI) return false;
// this is a rough guess
return o.name.length > 10 ? o.value / total < 0.15
: o.name.length > 5 ? o.value / total < 0.1 : false;
: o.name.length > 3 ? o.value / total < 0.15 : false;
}

},
Expand Down

0 comments on commit efd805c

Please sign in to comment.