tags:

views:

105

answers:

0

Hi all,

I got a strange issue today while working on ExtJS charts. I am trying to use some of the events for the chart when user clicks on the chart items. I found the following events are available:

itemclick, itemdoubleclick, itemdrag, itemdragstart, itemdragend, itemmouseover, itemmouseout

Here is my test chart where I have implemented all these events. Each event just create a list tag in my debuging console. The issue is, no matter what, itemdoubleclick do not get fired! what is the issue? Why is it not getting fired?

xtype:'columnchart', 
width:600,
height:350,
id:'myChart',
store: store,
xField: 'month',
yField: 'sales',
listeners: {
    itemdoubleclick: function(o) {
        var dh = Ext.DomHelper;
        dh.append('consoleList', {tag: 'li', html: 'itemdoubleclick'});
    }
}

In firebug console, I see that this event is registered.
PS: In my code above, I have put only the event that is not working.

Thanks in advance for your ideas and suggestions.