Any way to customize shape for each column in stacked bar chart #636
-
Beta Was this translation helpful? Give feedback.
Answered by
patrickmichalik
Mar 28, 2024
Replies: 1 comment
-
Hello! Vico 2.0.0 Alpha 13 makes this possible. With |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
siyingch86
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello! Vico 2.0.0 Alpha 13 makes this possible. With
ColumnCartesianLayer.ColumnProvider
, you can customize columns individually. I’d suggest creating a map that stores the column count for each x value and saving it as an extra. You can then retrieve the map inColumnProvider#getColumn
and use it to return the appropriateLineComponent
for each column, taking into account whether there’s another column in its stack. Let me know if you have any questions.