From dc4efbea58c90f5a65baf0a5e78f3b252866f561 Mon Sep 17 00:00:00 2001 From: Oracle Date: Mon, 15 Jun 2026 11:33:53 +0200 Subject: [PATCH] Fix donut chart using h instead of % --- src/pages/index.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/index.astro b/src/pages/index.astro index 47903f7..6b0f973 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -331,7 +331,7 @@ const TOKEN = import.meta.env.PUBLIC_ACCESS_TOKEN || ''; colors: ['#22c55e', '#3b82f6'], fill: { type: 'solid', opacity: 0.9 }, legend: { position: 'bottom', labels: { colors: '#a0a0b8' } }, - dataLabels: { formatter: function(val) { return val.toFixed(1) + 'h'; } }, + dataLabels: { formatter: function(val) { return val.toFixed(1) + '%'; } }, stroke: { width: 2, colors: ['#0d0d1a'] }, tooltip: { formatter: function(val) { return formatDuration(val / 100 * (issuesTotal + prsTotal)); } } }).render();