Replies: 6 comments 4 replies
-
https://www.chartjs.org/docs/master/samples/scales/stacked.html |
Beta Was this translation helpful? Give feedback.
-
I was not yet ready with my question: I need to stack category and linear scales as described in https://www.chartjs.org/docs/latest/samples/scales/stacked.html, but with 1 category scale and 2 linear scales. But it doesn't seem to work. In the below example, the yellow line shouldn't overlap the category part. Is there any solution for this problem? |
Beta Was this translation helpful? Give feedback.
-
How must I do that? I tried this. What am I doing wrong: with that code.
|
Beta Was this translation helpful? Give feedback.
-
OK, now I've understood the trick: I need the category scale on both sides. Additionally, I have to sort the scales in right order by renaming them. Thank you very much for the fast help. I find that's absolutely extraordinary |
Beta Was this translation helpful? Give feedback.
-
You can use the |
Beta Was this translation helpful? Give feedback.
-
Thank you for that hint. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
All reactions