From 19ed77ae0c3ce482e2b044b840f1dfcb586ed34c Mon Sep 17 00:00:00 2001 From: HendrikThePendric Date: Wed, 12 Jun 2024 14:44:45 +0200 Subject: [PATCH] fix: set `dataLabels.padding` to `0` to avoid labels being cut off in pie charts --- src/visualizations/config/adapters/dhis_highcharts/series/pie.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/visualizations/config/adapters/dhis_highcharts/series/pie.js b/src/visualizations/config/adapters/dhis_highcharts/series/pie.js index 67a4e772d..b1f6e03d8 100644 --- a/src/visualizations/config/adapters/dhis_highcharts/series/pie.js +++ b/src/visualizations/config/adapters/dhis_highcharts/series/pie.js @@ -8,6 +8,7 @@ export default function (series, colors) { colors: colors, dataLabels: { enabled: true, + padding: 0, formatter: function () { return ( '' +