Draw negative values at 0
#10183
-
Hi, is it possible to draw negative values at y = 0 or just hide them or exclude them from the drawing process. I need them to stay within the datasets, because I use the dataset to echo the data from the chart to a table... Thanks for any ideas |
Beta Was this translation helpful? Give feedback.
Answered by
kurkle
Feb 20, 2022
Replies: 1 comment 1 reply
-
Anything outside scale bounds is (by default) excluded from drawing. https://www.chartjs.org/docs/latest/axes/cartesian/linear.html#common-options-to-all-axes |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
geerdes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Anything outside scale bounds is (by default) excluded from drawing.
So, set
min
to0
.https://www.chartjs.org/docs/latest/axes/cartesian/linear.html#common-options-to-all-axes