Skip to content

Commit

Permalink
Fixed #7362, dataLabels were overlapping when rotation was set.
Browse files Browse the repository at this point in the history
  • Loading branch information
pawelfus committed Mar 7, 2018
1 parent b3027f6 commit 750c660
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/parts/DataLabels.js
Expand Up @@ -449,7 +449,8 @@ Series.prototype.alignDataLabel = function (
alignAttr.x -= bBox.width;
alignAttr.y -= negRotation ? 0 : bBox.height;
}

dataLabel.placed = true;
dataLabel.alignAttr = alignAttr;

} else {
dataLabel.align(options, null, alignTo);
Expand Down

0 comments on commit 750c660

Please sign in to comment.