From ac5932e2ba72605e0aceeb3714fef5265af7d0ae Mon Sep 17 00:00:00 2001 From: PRG-112 Date: Tue, 4 Aug 2026 12:46:42 +0200 Subject: [PATCH] Enhancement - making the tooltip more readable (https://bugs.gnucash.org/show_bug.cgi?id=799799) https://bugs.gnucash.org/show_bug.cgi?id=799799 A small change for making the tooltip more readable as it can get very messy with bigger data-sets. (see the screenshot) >> Screenshots based on: GC Sample Database: https://github.com/PRG-112/gnucash-sample-db-generator --- gnucash/report/html-chart.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnucash/report/html-chart.scm b/gnucash/report/html-chart.scm index 1fb1817c8b..541495c135 100644 --- a/gnucash/report/html-chart.scm +++ b/gnucash/report/html-chart.scm @@ -374,7 +374,7 @@ function tooltipLabel(tooltipItem,data) { var label = data.datasets[tooltipItem.datasetIndex].data[tooltipItem.index]; switch (typeof(label)) { case 'number': - return datasetLabel + ': ' + numformat(label); + return ' ' + datasetLabel + ' : ' + numformat(label); default: return ''; }