Start a new topic

Support for contextmenu event

Original post on our old UserVoice platform:


Please add support for contextmenu event handlers, or mousedown/mouseup/click events which are captured, to be able to prevent default browser right-click popup menu.
It would be useful to have an ability to show custom menu on different parts of chart (slice/series/point/legend etc.) with according info respectively.

1 Comment

Our response:


I’ve tried to modify Joe’s patch into a plugin so that it can run without modifying Highcharts itself. The result can be seen at http://jsfiddle.net/highcharts/c42Ms/.

I didn’t have time right now to check across browsers, but I’m open for suggestions for improvements.

Login or Signup to post a comment