youcef92 / flotr

Automatically exported from code.google.com/p/flotr
0 stars 0 forks source link

clearHit Bug in flotr's Mootools Implementation #140

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open up mouse-zoom.html for Mootools
2. Change options to the following:

var options = {
  selection:{mode:'x',fps:30},
  mouse:{
    track: true,
  },
  bars: { show:true },
};

3.Refresh the page, and zoom a region, and move the mouse over the bars

What is the expected output? What do you see instead?

After doing step 3 above, you'll notice that the mouse tracking's highlights 
are not cleared correctly.

What version of the product are you using? On what operating system?

SVN revision 168.

Please provide any additional information below.

The line "xa.d2p(bw) + lw * 2," in flotr.js should have been "xa.d2p(bw + 
xa.min) + lw * 2,". The Prototype implementation uses the latter already.

Thanks.

Original issue reported on code.google.com by dennis.s...@gmail.com on 12 Aug 2010 at 10:55