From ee42f979d6d0d21b76eaffd9f989498199688bdf Mon Sep 17 00:00:00 2001 From: Sherlock <119709043+agwekixj@users.noreply.github.com> Date: Thu, 9 Jan 2025 19:27:13 -0800 Subject: [PATCH] Bug 799514 - Pie chart hovering shows wrong information in pop-up Set intersect to true for pie charts. --- gnucash/report/html-chart.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnucash/report/html-chart.scm b/gnucash/report/html-chart.scm index 7efa8b0df8..58a6e08428 100644 --- a/gnucash/report/html-chart.scm +++ b/gnucash/report/html-chart.scm @@ -271,7 +271,8 @@ (gnc:html-chart-get chart '(type))) (define (gnc:html-chart-set-type! chart type) - (gnc:html-chart-set! chart '(type) type)) + (gnc:html-chart-set! chart '(type) type) + (gnc:html-chart-set! chart '(options tooltips intersect) (equal? type 'pie))) (define (gnc:html-chart-title chart) (gnc:html-chart-get chart '(options title text)))