faheem801 / flot

Automatically exported from code.google.com/p/flot
MIT License
0 stars 0 forks source link

Tooltip sample has very poor performance #422

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
when doing the graph.bind("plothover" ... in interacting.html it should be 
changed to: 

 if (previousPoint == null || previousPoint[0] != item.datapoint[0] || previousPoint[1] != item.datapoint[1]) 

and ... 

if (previousPoint != null) {
    $("#tooltip").remove();
}

as it stands this sample can totally kill firefox 

Original issue reported on code.google.com by sam.saff...@gmail.com on 23 Sep 2010 at 5:23

GoogleCodeExporter commented 9 years ago
Yes, fixed in SVN, bitrot. Thanks for the report!

Original comment by olau%iol...@gtempaccount.com on 14 Dec 2010 at 9:34