feat(sunburst): Add node click functionality to sunburst chart#31478
feat(sunburst): Add node click functionality to sunburst chart#31478gerbermichi wants to merge 1 commit intoapache:masterfrom
Conversation
|
/testenv up |
| name: 'node_click', | ||
| config: { | ||
| type: 'CheckboxControl', | ||
| label: t('Node Click'), |
There was a problem hiding this comment.
Can we use a label that describes the feature it enables rather than action? Like label: t('Enable drill down'),?
There was a problem hiding this comment.
@kgabryje I'm wondering what's the relationship of this feature with cross-filtering and drill by? By default, charts offer the left click for cross-filtering and the right-click for the menu options. They don't offer controls to enable/disable this behavior if I'm not mistaken. I wonder if we should just add support for left/right clicks as the other chart types do.
There was a problem hiding this comment.
Oh you're right, this feature would be in conflict with cross filtering. I wonder if it would make sense to trigger drill down with some combination like ctrl + left click. Of course then we'd need some tooltip in chart itself for discoverability
There was a problem hiding this comment.
Why not implement drill down using drill by as we do for all chart types?
SUMMARY
This feature introduces node click functionality to the sunburst chart. Users can now click on nodes to focus on one node, enhancing the interactivity and usability of the chart.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TESTING INSTRUCTIONS
Create a sunburst chart with multiple hierarchies.
ADDITIONAL INFORMATION