Skip to content

Commit

Permalink
Merge Christopher Lam's 'charts-tooltips-index' into stable.
Browse files Browse the repository at this point in the history
  • Loading branch information
jralls committed Dec 12, 2024
2 parents 3fcb45e + 28fec40 commit 94bac09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 2 additions & 0 deletions gnucash/report/html-chart.scm
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,8 @@
(cons 'point (list
(cons 'pointStyle #f)))))
(cons 'tooltips (list
(cons 'mode 'index)
(cons 'intersect #f)
(cons 'callbacks (list
(cons 'label #f)))))

Expand Down
4 changes: 0 additions & 4 deletions gnucash/report/reports/standard/balance-forecast.scm
Original file line number Diff line number Diff line change
Expand Up @@ -291,10 +291,6 @@ date point, a projected minimum balance including scheduled transactions."))
(gnc:html-chart-set-currency-symbol!
chart (gnc-commodity-get-nice-symbol currency))

;; Allow tooltip in whole chartarea
(gnc:html-chart-set! chart '(options tooltips mode) "index")
(gnc:html-chart-set! chart '(options tooltips intersect) #f)

;; We're done!
(gnc:html-document-add-object! document chart)
(gnc:report-finished))))
Expand Down

0 comments on commit 94bac09

Please sign in to comment.