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: make the thickness of the arcs configurable #1651

Closed
derrickbeining opened this issue Jul 1, 2021 · 2 comments
Closed

Sunburst: make the thickness of the arcs configurable #1651

derrickbeining opened this issue Jul 1, 2021 · 2 comments

Comments

@derrickbeining
Copy link

derrickbeining commented Jul 1, 2021

Is your feature request related to a problem? Please describe.
I need to be able to customize the thickness of the arc rings in the Sunburst component.

Describe the solution you'd like
Add a prop (e.g. "arcRingWidth") which has the type number | (idk: { depth: number }) => number to expose control over the thickness of the arc rings of the Sunburst. The number variant would make all rings the same thickness. The function variant would allow computing the thickness of the ring based on the depth of the ring.

Describe alternatives you've considered
Reimplementing the whole arc layer via the layers prop.

Additional context

I'm realizing now that this feature could obviate the need for the innerRadius prop described in #1649.

Here's an example from the Sunburst from highcharts. It let's you control ring thickness via the levelSize configuration: https://jsfiddle.net/hrb9t27w/

@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
@stale
Copy link

stale bot commented Oct 6, 2021

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please create a new issue with up-to-date information. Thank you!

@stale stale bot closed this as completed Oct 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants