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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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:
redwhen y-values are< 20yellowwhen y-values are>= 20 && < 40greenwhen y-values are>= 40 && < 60yellowwhen y-values are>= 60 && < 80redwhen y-values are>= 80Ideally 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