View Full Version : Is there a way to ad right click event to charts?

29 Aug 2014, 3:41 AM
contextmenu and
itemcontextmenu doesn't work in the listeners of the charts.

1 Sep 2014, 12:22 AM
For events that are not defined/created for a given component, you can put a listener directly on the dom element itself for whatever you want.

ie -
chart.getEl().on('contextmenu', function () { Ext.log('contextmenu'); } );