I am trying to get the chart click and mouse events to work on the NVD3 historical bar chart- but I'm failing to do so. Please see plnkr here http://plnkr.co/edit/Hnyi1A? I see here https://github.com/krispo/angular-nvd3/issues/36 that they recommend to use interactiveLayer property, however it does not seem to be working. Could be possibly be a bug?
chart: {
type: 'historicalBarChart',
//None of these events work
interactiveLayer: {
dispatch: {
chartClick: function(e) {
console.log("! chart Click !")
},
elementClick: function(e) {
console.log("! element Click !")
},
elementDblClick: function(e) {
console.log("! element Double Click !")
},
elementMouseout: function(e) {
console.log("! element Mouseout !")
},
elementMouseover: function(e) {
console.log("! element Mouseover !")
}
}
}
...
}