You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to flo...@googlegroups.com
I got around it by increasing the padding on the text labels (make sure you enable Html rendering for text label first)
.flotr-labels {
font-size:small;
}
.flotr-labels .flotr-grid-label {
padding:10px;
}
You can also work with modifying the label rendered:
pie : {
show : true,
explode : 15,
fillOpacity: 0.8,
shadowSize : 0,
lineWidth: 0,
labelFormatter : function (total, value) {
return (100 * value / total).toFixed(0)+'%';
}
Victor Stan
unread,
Apr 24, 2012, 3:17:17 PM4/24/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to flo...@googlegroups.com
On second though, it's actually causing a strange un-aligned positioning with many small slices in one place... so padding the labels may not be the way to go...
as an example, this is what i have: (see screenshot)
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to vic...@contactmonkey.com, flo...@googlegroups.com
I take it back, this is correct. This implementation, honestly, should be used individual pie slices. A separate implementation would be necessary for 'explode all', which would be implemented as a 'cut width' from the outside to the inside.
-Carl
Victor Stan
unread,
Apr 24, 2012, 3:48:55 PM4/24/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to flo...@googlegroups.com, vic...@contactmonkey.com
Hmm,
Given enough data points, labels will overlap, here is a modified example pie chart, I just duplicated one of the datapoints ad nauseum for illustration. Note that the example shows the explode being applied to the pie chart overall as well as to one individual slice.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to vic...@contactmonkey.com, flo...@googlegroups.com
Cool. So it'll be a pretty major change to add collision detection to the pie labels. This should be done for when a couple small slices are next to each other.
However, in information design a pie chart with so many slices would be better as a bar chart.
-Carl
Victor Stan
unread,
Apr 24, 2012, 4:27:58 PM4/24/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to flo...@googlegroups.com, vic...@contactmonkey.com
:) you probably have a good point
foob...@gmail.com
unread,
Aug 18, 2016, 6:43:32 AM8/18/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to flotr2, vic...@contactmonkey.com
The issue also happens for less slices: http://jsfiddle.net/BZHX2/12/ The problem is not the number of slices itself but multiple small slices being rendered next to each other. Is it worth opening an issue?