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

Pie chart slice stand out when click it #2406

Closed
alienriquebm opened this issue Jul 31, 2023 · 3 comments · Fixed by #2465
Closed

Pie chart slice stand out when click it #2406

alienriquebm opened this issue Jul 31, 2023 · 3 comments · Fixed by #2465
Assignees
Labels
🍰 pie @nivo/pie package

Comments

@alienriquebm
Copy link

Is your feature request related to a problem? Please describe.
Actually we can stand out a slice of the pie chart when we hover it, but I would like to have the same interactivity when we click it.

Describe the solution you'd like
Add to the graphs like the pie chart the interactivity of when clicked slice stands out exactly when we do hover on it. Implement a "toogle" interactivity.

Additional context
image

@barrymichaeldoyle
Copy link

This is very similar (not exactly the same) to my feature request.

#2388

It is the same reason why I don't want a single out of the box solution, but some way to specifically indicate that a specific slice is active, which would help a lot with sorting everything out.

@plouc
Copy link
Owner

plouc commented Nov 19, 2023

Hi @alienriquebm,

I agree with @barrymichaeldoyle, and I'm currently working on such solution, I also feel it would offer more flexibility.

@plouc
Copy link
Owner

plouc commented Nov 20, 2023

The ability to define the activeId has been released in 0.84.0.

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.

3 participants