mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
[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:
parent
e1228c76a5
commit
ddceb54736
@ -212,7 +212,7 @@
|
|||||||
(cons 'labelString "")))
|
(cons 'labelString "")))
|
||||||
(cons 'ticks (list
|
(cons 'ticks (list
|
||||||
(cons 'fontSize 10)
|
(cons 'fontSize 10)
|
||||||
(cons 'beginAtZero #f))))
|
(cons 'beginAtZero #t))))
|
||||||
;; the following another yAxis on the right
|
;; the following another yAxis on the right
|
||||||
'((position . right)
|
'((position . right)
|
||||||
(ticks . ((display . #f)))
|
(ticks . ((display . #f)))
|
||||||
|
Loading…
Reference in New Issue
Block a user