Seedre / flotr

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

Invalid mouse tracking when body size specified to less than available #169

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Specify body width of page with flotr chart to about 200px less than your 
screen resolution
2. Prepare any chart supporting mouse tracking (bars, line, pie,...)
3. Make mouse tracking available
4. Try to get any data point tracked

What is the expected output? What do you see instead?
You will see that all data points appears to be tracked when mouse is moved 
more to the left, than it should be.

What version of the product are you using? On what operating system?
Problem appers in rev.174 on both IE8 and FE 3.6

Please provide any additional information below.

Original issue reported on code.google.com by macku30@gmail.com on 4 Jan 2011 at 8:21

GoogleCodeExporter commented 8 years ago
Problem appears for selections too

Original comment by macku30@gmail.com on 4 Jan 2011 at 8:26

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Ok I found a reason of my problem. It was because i had position of body set to 
relative. In this case mouse tracking won't work like expected for situations 
described in this issue. There is possibility to calculate offset in case of 
relativity, but it should be done only if there is position set to relative. If 
there is a need for this i can prepare patch.

Original comment by macku30@gmail.com on 5 Jan 2011 at 7:55