Skip to content

Any way to customize shape for each column in stacked bar chart #636

Closed Answered by patrickmichalik
siyingch86 asked this question in Questions
Discussion options

You must be logged in to vote

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 in ColumnProvider#getColumn and use it to return the appropriate LineComponent for each column, taking into account whether there’s another column in its stack. Let me know if you have any questions.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by siyingch86
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants