How to have a bar chart's bars fully occupy their X values? #867
-
QuestionThis is something I'm a bit confused on. If I have a series of line chart data and I plot that, like (1, 2, 3, 4, 5, 6, 7) I would like these bars to be touching eachother. So, I would like the bars big - as big as the whole x-value they are associated with is. I can't seem to do this. Is there anything I'm missing? It would seem that I can do this in a very hacky, awkward way by making the column thickness a large number (but not Vico version(s)No response UI framework(s)Jetpack Compose |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
I am thinking that I want to set each bar value's width to |
Beta Was this translation helpful? Give feedback.
-
Hi @Tyler-Lopez. Simply set the |
Beta Was this translation helpful? Give feedback.
Hi @Tyler-Lopez. Simply set the
columnCollectionSpacing
to0.dp
in therememberColumnCartesianLayer
function.