area chart fill "till next line"? #10570
Unanswered
katerinasujanova
asked this question in
Q&A
Replies: 1 comment 1 reply
-
There is also an option for fill: 'start'. I suspect you need that. |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Hello,
I have an area chart showing costs, profit and revenue for different clients and I'd like to use some filling inside the chart, but I'm not sure if there's actually a way how to achieve what I'd want..
The thing is, that costs and profit are always different and I cannot say what is generally the smaller one (and therefore which one should have the fill set to
fill: 'origin'
) and also I'd like to fill the next area "just till the border (line)" of the other (lower) one, because now I'm just setting the filling by defining the actual dataset.. I'd like to avoid thins "hardcoding" and do it some dynamic way, but I didn't find anything like that in docs.. if there's some way to achieve this, I'd be happy to hear that.Hopefully the following images help you understand what I mean - same settings, different clients:
setting:
Image 1: how I would like the chart to look

Image 2: how the chart for another client looks

Beta Was this translation helpful? Give feedback.
All reactions