Home Forums Chart Support Mouse Out event not fired Reply To: Mouse Out event not fired

#34445

@nehamahajan,

Thanks for reporting the issue. Based on testing it looks like a bug. We’ll be fixing it in future versions.

However, as a workaround, you can set a mouseout event to the chartCotainer div and call the custom function as shown in the code-snippet below,

 document.getElementById("chartContainer").addEventListener("mouseout", function() {
  mouseOut();
});

Kindly take a look at this JSFiddle for an example on the same.

hide dataseries on legend mouseover


Adithya Menon
Team CanvasJS