How to make Line chart fill between -10 and 0 #10946
Answered
by
stockiNail
MariyanEOD
asked this question in
Q&A
-
My general idea was to have a second dataset with each point being -10, 0, -10, 0.... but as there are about 28k points, it is not performance-wise to do that, currently im using decimation and zoom plugin. |
Beta Was this translation helpful? Give feedback.
Answered by
stockiNail
Dec 7, 2022
Replies: 1 comment 1 reply
-
@MariyanEOD you could set the |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
MariyanEOD
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@MariyanEOD you could set the
min: -10
to y axis and usefill: 'start'
in your dataset config. The same dataset backgroundColor is used.Codepen: https://codepen.io/stockinail/pen/JjZxZyW