You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have a Pie chart with hidden slices, the positioning of the data labels is very messy because it is positioning them around the hidden slices data labels.
// arrange points for detection collision
each(data, function (point) {
if (point.dataLabel) { // it may have been cancelled in the base method (#407)
halves[point.half].push(point);
}
});
if this is replaces with:
// arrange points for detection collision
each(data, function (point) {
if (point.dataLabel && point.visible) { // it may have been cancelled in the base method (#407)
halves[point.half].push(point);
}
});
the issue no longer occurs.
The text was updated successfully, but these errors were encountered:
If you have a Pie chart with hidden slices, the positioning of the data labels is very messy because it is positioning them around the hidden slices data labels.
http://jsfiddle.net/z9NN9/
I found that this issue is caused here:
if this is replaces with:
the issue no longer occurs.
The text was updated successfully, but these errors were encountered: