Add support for contextmenu event within embedded SDK
In the latest Charts beta there is support to hook click events to a callback.
chart.addEventListener("click", (payload) => { .. } )
I tried hooking the context menu (right click) event
chart.addEventListener("contextmenu", (payload) => {...}
but Charts asserts that is not recognized with a dialog
Not supported event: contextmenu (sic)
Being able to have both (left) click and the context menu user interactions will provide developer flexibility along with a better and more consistent user experience.
1
vote
![](https://secure.gravatar.com/avatar/b584dacf5ef19483d86e072a81a23666?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)