Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Submitted
Categories Charts
Created by Guest
Created on Mar 8, 2021

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.