[Feature Request] stacked plots
raj-nimble opened this issue · 0 comments
raj-nimble commented
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.