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

[Line] Dissociate line color and area color #2537

Open
LeopoldArkham opened this issue Mar 12, 2024 · 0 comments
Open

[Line] Dissociate line color and area color #2537

LeopoldArkham opened this issue Mar 12, 2024 · 0 comments

Comments

@LeopoldArkham
Copy link

In a line graph, I can't seem to find a way to dissociate the color of the line from the color of the area, i.e. be able to pass two different colors to a line and its area respectively.

I suppose I could disable areas in Nivo, and recompute each of them( this is a stacked line graph) with their own color as layers, but that wouldn't be worth it in my use case for a cosmetic change.

Is there a built-in way to accomplish this that I missed?

Otherwise, if the maintainers can give me with an API they'd be okay with (and how it would interact with areaOpacity), I would be up for implementing this; looking at the internals it doesn't seem too hard to do.

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

No branches or pull requests

1 participant