Skip to content

Commit

Permalink
Fixed issue with hidden pie slices affecting the positions of data la…
Browse files Browse the repository at this point in the history
…bels. Closes #2510.
  • Loading branch information
TorsteinHonsi committed Dec 9, 2013
1 parent a11d41a commit d5e176b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion js/highcharts.src.js
Original file line number Diff line number Diff line change
Expand Up @@ -16812,7 +16812,7 @@ var PieSeries = {

// arrange points for detection collision
each(data, function (point) {
if (point.dataLabel) { // it may have been cancelled in the base method (#407)
if (point.dataLabel && point.visible) { // #407, #2510
halves[point.half].push(point);
}
});
Expand Down
2 changes: 1 addition & 1 deletion js/highstock.src.js
Original file line number Diff line number Diff line change
Expand Up @@ -16512,7 +16512,7 @@ var PieSeries = {

// arrange points for detection collision
each(data, function (point) {
if (point.dataLabel) { // it may have been cancelled in the base method (#407)
if (point.dataLabel && point.visible) { // #407, #2510
halves[point.half].push(point);
}
});
Expand Down
2 changes: 1 addition & 1 deletion js/parts/PieSeries.js
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ var PieSeries = {

// arrange points for detection collision
each(data, function (point) {
if (point.dataLabel) { // it may have been cancelled in the base method (#407)
if (point.dataLabel && point.visible) { // #407, #2510
halves[point.half].push(point);
}
});
Expand Down

0 comments on commit d5e176b

Please sign in to comment.