You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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/
The text was updated successfully, but these errors were encountered:
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: