Hello,
I am working with appkit attempting to make some stacked bar charts over a time series.
My goal is to have a stacked bar with multiple series.
However, the stacked={true} attribute on <BarChart /> does not appear to be honored unless orientation='horizontal'.
Example:
<BarChart data={data} stacked={true} xKey="work_date" /> does not stack:
<BarChart data={data} stacked={true} xKey="work_date" orientation="horizontal" /> does stack:
I have created a minimal reproduction here. To run this the DataBricks details will need to be provided in a .env, but it uses static data for the example charts.
Thank you!
Hello,
I am working with appkit attempting to make some stacked bar charts over a time series.
My goal is to have a stacked bar with multiple series.
However, the
stacked={true}attribute on<BarChart />does not appear to be honored unlessorientation='horizontal'.Example:
<BarChart data={data} stacked={true} xKey="work_date" />does not stack:<BarChart data={data} stacked={true} xKey="work_date" orientation="horizontal" />does stack:I have created a minimal reproduction here. To run this the DataBricks details will need to be provided in a
.env, but it uses static data for the example charts.Thank you!