Replies: 2 comments
-
I'm guessing that you want a line(a "line" representing one data series) having different color transition. Take below example as a reference. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I'm interested in this as well. See my question and/or feature request #2597 Would it maybe be possible to have the options for the https://naver.github.io/billboard.js/demo/#AreaChartOptions.LinearGradient available for the data line itself? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to create a spline/line chart, where the line has three colors that it gradients between.
For example, for a y-axies that goes from 0 to 100, I want the line to be:
red
when y-values are< 20
yellow
when y-values are>= 20 && < 40
green
when y-values are>= 40 && < 60
yellow
when y-values are>= 60 && < 80
red
when y-values are>= 80
Ideally the line will have a smooth transition between the colors.
Is that possible, and if so, how?
Ps. thanks for an excellent library!
Beta Was this translation helpful? Give feedback.
All reactions