Skip to content

Commit

Permalink
fix: set dataLabels.padding to 0 to avoid labels being cut off in…
Browse files Browse the repository at this point in the history
… pie charts
  • Loading branch information
HendrikThePendric committed Jun 12, 2024
1 parent d41b900 commit 19ed77a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export default function (series, colors) {
colors: colors,
dataLabels: {
enabled: true,
padding: 0,
formatter: function () {
return (
'<span style="font-weight:normal">' +
Expand Down

0 comments on commit 19ed77a

Please sign in to comment.