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

Sunburst: add props.innerRadius similar to how Pie works #1649

Open
derrickbeining opened this issue Jun 30, 2021 · 5 comments · May be fixed by #2219
Open

Sunburst: add props.innerRadius similar to how Pie works #1649

derrickbeining opened this issue Jun 30, 2021 · 5 comments · May be fixed by #2219

Comments

@derrickbeining
Copy link

Is your feature request related to a problem? Please describe.
I need to be able to customize the size of the center hole in Sunburst. I noticed that the Pie component is able to do this with the innerRadius prop. Would it be possible to expose a similar customization to Sunburst?

Describe the solution you'd like
Add innerRadius: number prop to SunburstProps to expose control over the radius of the center hole in a Sunburst.

Describe alternatives you've considered
Retiring to the countryside.

Additional context
Screen capture of Pie chart doing what I want Sunburst to be able to do:

nivo-pie-inner-radius.mov
@derrickbeining derrickbeining changed the title Add to Sunburst props "innerRadius" similar to Pie props.innerRadius Sunburst: add props.innerRadius similar to how Pie works Jul 1, 2021
@stale
Copy link

stale bot commented Sep 29, 2021

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!

@stale stale bot added the stale label Sep 29, 2021
@adamberro
Copy link
Contributor

Hi, I am looking for the same functionality. I would be happy to spend some time on this to PR a change. Can you provide any suggestions/guidance for how to approach this?

@stale
Copy link

stale bot commented Dec 30, 2021

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!

@stale stale bot added the stale label Dec 30, 2021
@plouc plouc added the pinned label Dec 30, 2021
@stale stale bot removed the stale label Dec 30, 2021
@jsw
Copy link

jsw commented Feb 24, 2022

Bump. I'd also be interested in retrieving the inner radius as a property in SunburstCustomLayerProps so that I can render a circle in the center.

@petrvecera
Copy link

There seems to be PR implementing this feature 👍 #2219

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment