When i move my mouse cursor over the series the chart is not firing the itemmouseover event
Here is the Code while itemDoubleTap is working but not itemmouseover.
Code:
{
xtype: 'chart',
cls: [
'x-chart'
],
height: 230,
itemId: 'mycartesianchart',
width: 235,
shadow: true,
axes: [
{
type: 'category',
fields: [
'x'
],
label: {
x: 0,
y: 0,
textBaseline: 'middle',
textAlign: 'center',
fontSize: 12,
fontFamily: 'Helvetica',
color: 'white'
}
},
{
type: 'numeric',
fields: [
'y'
],
label: {
x: 0,
y: 0,
textBaseline: 'middle',
textAlign: 'center',
fontSize: 12,
fontFamily: 'Helvetica',
color: 'white'
},
position: 'left'
}
],
series: [
{
type: 'area',
colors: [
'#838EC5'
],
xField: 'x',
yField: [
'y'
]
}
],
interactions: [
{
type: 'panzoom'
}
]
},
Code:
listeners: [
{
fn: 'onMycartesianchartItemDoubletap',
event: 'itemdoubletap',
delegate: '#mycartesianchart'
},
{
fn: 'onMycartesianchartItemMouseOver',
event: 'itemmouseover',
delegate: '#mycartesianchart'
}
]
onMycartesianchartItemMouseOver: function(series, item, event, eOpts) { alert(series);
},