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

feat: support stacked lines #10

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

WulfH
Copy link

@WulfH WulfH commented Oct 19, 2024

In LineChart you can now use stacked_lines: true to stack them on top of each other similar to the stacked_bars option.
It defaults to false and is therefore backwards compatible.
Here is a comparison with the new option enabled in the second chart:

image

I'm also trying to plot area charts and you could combine both for stacked area charts. But I'm not really happy with them yet.

image

And do I need to update Cargo.toml or CHANGELOG?

@marc2332 marc2332 self-requested a review October 20, 2024 08:46
@marc2332 marc2332 added the enhancement New feature or request label Oct 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants