Using the mouseout event to hide tooltips

Share RGraph:   Share or Like RGraph on Facebook!

« Back to message list

Enter your email address to get email updates on this topic. You can stop receiving updates by clicking the link in the update email messages.

Posted by Zsolt on 17th March 2017
Hi Richard,

when you're using onmouseout event to hide tooltips and you have several charts (line/bar) and one of them is empty (no data, ie it is a dynamically refreshing line chart and not containing anything now) the line draw function drop javascript error, when try to display tooltip on other chart.

My temporary solution: you have to check the data length in the event functions and if there is no data don't call the redraw.

Regards,
Zsolt

Add a reply




« Back to message list