[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.
This commit is contained in:
Christopher Lam 2019-06-09 17:23:55 +08:00
parent e1228c76a5
commit ddceb54736

View File

@ -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)))