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

Animate individual pie slice #649

Closed
mattoni opened this issue Jul 26, 2019 · 6 comments · Fixed by #1204
Closed

Animate individual pie slice #649

mattoni opened this issue Jul 26, 2019 · 6 comments · Fixed by #1204
Labels
🍰 pie @nivo/pie package

Comments

@mattoni
Copy link

mattoni commented Jul 26, 2019

Is your feature request related to a problem? Please describe.
I'm trying to create a pie chart where if I hover over a slice, that slice pops out slightly from the rest of the chart.

Describe the solution you'd like
Either the ability to pass a custom slice component, or a way to add custom styling to an individual slice.

@w4-alibek
Copy link

Is this issue progressing?

@plouc plouc added the 🍰 pie @nivo/pie package label Jan 15, 2020
@lordlpua
Copy link

I have the same question. Can I add the box-shadow to the slices on hover with a different colors of the box-shadow?

@plouc
Copy link
Owner

plouc commented Nov 1, 2020

I'm closing this as it's a duplicate of #39.

@plouc
Copy link
Owner

plouc commented Nov 1, 2020

Sorry, it seems to be a bit different in fact, re-opening.

@tuucan
Copy link

tuucan commented Nov 22, 2020

Are there any resources on how to use layers and custom slices to achieve this?

@nostalgiaz
Copy link

@tuucan it seems that the next pie chart version will have the animation, check this out: https://codesandbox.io/s/nivo-website-9yrvz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍰 pie @nivo/pie package
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants