Skip to content

[Feature] Support for 100% stacked charts #17179

Description

@Shaq76

What problem does this feature solve?

I am trying to emulate the functionality provided by Excel and echarts has no native support for 100% stacked charts.
I have tried to work around this by calculating the percentages myself but then you lose the original value tooltip.

There is an existing issue about this here:
#8785

Apache superset has already implemented this feature, see here: (in the superset code it's called a 'contribution')
apache/superset#13580

What does the proposed API look like?

My suggestion is that you extend the 'stack' syntax to support something like this:
stack: { name: 'male', type: '100%' }

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions