-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Comments
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! |
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! |
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. Thenumber
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 thelevelSize
configuration: https://jsfiddle.net/hrb9t27w/The text was updated successfully, but these errors were encountered: