[Feature] sunburst toggle hidden ring overlay onClick / onSelect
- Dominant language
- TypeScript
- Stars
- 67.3k
- Forks
- 19.8k
- Avg merge
- 11d 14h
- Merged PRs (30d)
- 8
Description
### What problem does this feature solve?
I would like to be able to see a hidden ring with the same shape after an onClick event. The ring would be in the `levels` data with `show` and `opacity` to control visibility. the original ring would then be hidden and moved down in Z dimension. The exposed ring has its own clickable/visible children.
with an onClick or onSelect event I can call `setOption` on the chart instance load new `levels` data to toggle the rings
however this results in the `nodeClick: rootToNode` not rendering.
perhaps `setOption` is not the way to do this?
on the return journey (click in the center) the ring toggling would need to be reversed
### What does the proposed API look like?
The ring toggle is a bit of hack .. there could be `sub-levels` option in the `levels` properties/arguments
Contributor guide
Assessment
This issue has not been assessed yet.