Black Lives Matter. Please consider donating to Black Girls Code today.

Register mouseover events on axes titles


Is there any way to register a mouseover event on the text of axes titles? I tried registering the event on class
‘xtitle’ using jquery but the event never fires.

Thanks in advance.

maybe try g-xtitle.

Tried that as well. Doesn’t work. The basic issue imo is when I do ‘Inspect Element’ on the chart, it selects the entire svg-container of the plot and the particular element which I have clicked on. May be the event gets suppressed somewhere given the way SVGs work?