KoalaPlot / koalaplot-core

Koala Plot is a Compose Multiplatform based charting and plotting library written in Kotlin
https://koalaplot.github.io/
MIT License
368 stars 18 forks source link

Grouped Stacked Bars #67

Open mateuy-dev opened 3 months ago

mateuy-dev commented 3 months ago

I'm trying to create a Bar plot that has two groups, each group is a Stack of two values. I've not found any way to achieve this. Thanks.

gsteckman commented 3 months ago

I'm not sure if I have seen something like this before. Do you have a picture or is there an example online of what it should look like?

mateuy-dev commented 3 months ago

I've just created an example:

sample_grouped_stacked

The data I want to display is, in a production environment, the growth vs decline of stock. Each group bar will be either growth or decline. Each of the bars will have stacked where this comes from (purchases+production, sells+lost)