Skip to content

[Feature Request] stacked plots #619

Open
@raj-nimble

Description

@raj-nimble

What is the feature ?

Would be great if we could make stacked plots, like stacked area or stacked column plots.

(Optional) Why this feature is useful and how people would use the feature ?

The current AreaSeries only plots overlapping. If you want to visualize how the total evolves over the domain, it can be helpful to stack the plots. This is useful for column/bar charts as well. Currently, this could be worked around by computing the total ourselves and modifying each series accordingly with the offset but that seems like something the library could do for us.

(Optional) Additional Information

Example: https://python-graph-gallery.com/stacked-area-plot/
Looking at the code, maybe it would be an option in the ChartBuilder or ChartContext to stack the series as add them to the context.

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