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
Me and my Team are in the process of migrating to the new VictoryNative architecture. We have an interactive piechart, where users can click on a slice to trigger an effect in the GUI.
If I understand correctly, currently interacting with charts in that way is supported through "Chart Gestures", which are not supported for Pie Charts. Is there another way to make slices clickable?
Proposal
Introduce the option to add a callback to the slices, that will get executed when the user clicks on the respective slice.
Thanks :)
The text was updated successfully, but these errors were encountered:
I found a way by adding an invisible layer on top with react-native-svg. But then, it almost takes away the point of having victory-native. I agree that it should be directly integrated.
Description
Hi :)
Me and my Team are in the process of migrating to the new VictoryNative architecture. We have an interactive piechart, where users can click on a slice to trigger an effect in the GUI.
If I understand correctly, currently interacting with charts in that way is supported through "Chart Gestures", which are not supported for Pie Charts. Is there another way to make slices clickable?
Proposal
Introduce the option to add a callback to the slices, that will get executed when the user clicks on the respective slice.
Thanks :)
The text was updated successfully, but these errors were encountered: