Skip to content

Bar Chart "stacked" attribute not honored for vertical charts. #603

Description

@Bpflugrad

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:

Image

<BarChart data={data} stacked={true} xKey="work_date" orientation="horizontal" /> does stack:

Image

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions