add events to axis labels
there should be standard events like mouseOut, mouseOver, click , etc. available for axis labels. currently it is possible to do it through custom events plugin, but it is not compatible with latest highcharts
The Pointer object has a nice utility that you can use to detect whether a certain class is clicked: http://jsfiddle.net/qcehvqqk/
-
arun commented
goog to know about the pointer objects utiity. Can you please suggest something for mouseover and mouseout interactions on axis labels as well?
Currently I am attaching event listeners on axis tick labels. The problem there is that the mouse goes out of <text /> elements too often as it does not have a continuous area like a <rect />. Thus firing mouseout and mouseover too often even when the cursor stays inside the text