Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] stacked plots #619

Open
raj-nimble opened this issue Jul 23, 2024 · 0 comments
Open

[Feature Request] stacked plots #619

raj-nimble opened this issue Jul 23, 2024 · 0 comments

Comments

@raj-nimble
Copy link

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.

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

No branches or pull requests

1 participant