From ddceb54736e1ee7d059d60a15da3dff83eb25942 Mon Sep 17 00:00:00 2001 From: Christopher Lam Date: Sun, 9 Jun 2019 17:23:55 +0800 Subject: [PATCH] [html-chart] ensure yAxis starts at $0.00 Ensuring $0 is included in chart is better. If beginAtZero is #t, the yAxis will span $0 -> maximum. If beginAtZero is #f, the chart yAxis will span minimum -> maximum y-values, which led to bars with minimum amounts being effectively hidden from view because its height corresponded with the minimum amount. --- gnucash/report/report-system/html-chart.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnucash/report/report-system/html-chart.scm b/gnucash/report/report-system/html-chart.scm index f94e736904..55cfe6229d 100644 --- a/gnucash/report/report-system/html-chart.scm +++ b/gnucash/report/report-system/html-chart.scm @@ -212,7 +212,7 @@ (cons 'labelString ""))) (cons 'ticks (list (cons 'fontSize 10) - (cons 'beginAtZero #f)))) + (cons 'beginAtZero #t)))) ;; the following another yAxis on the right '((position . right) (ticks . ((display . #f)))