Skip to content

Draw negative values at 0 #10183

Answered by kurkle
geerdes asked this question in Q&A
Feb 20, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Anything outside scale bounds is (by default) excluded from drawing.
So, set min to 0.

https://www.chartjs.org/docs/latest/axes/cartesian/linear.html#common-options-to-all-axes

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@geerdes
Comment options

Answer selected by geerdes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants