HumbleSoftware / Flotr2

Graphs and Charts for Canvas in JavaScript.
http://www.humblesoftware.com/flotr2/
MIT License
2.44k stars 526 forks source link

Flotr2 Mouse Tracker for graphs not working in chrome 32 version #268

Closed arun-reddy-g closed 5 years ago

arun-reddy-g commented 10 years ago

I am Using Flotr2 graphs in my site and mouse tracker is not working as excepted , well it works fine in firefox and ie and even in chrome 27 version , but not in chrome 32.

I even checked with the demo in humble soft site in chrome and the issue is same.

flotr2

Actually i was not able to take the print screen with mouse cursor but i pointed the same spot where i had my mouse with a red spot in the picture attached .

I tried to debug the js and in function "closest " but in plugin it is returning improper x and y values . Please check this issue.

Please let me know i you have any quries.

masatatsu commented 10 years ago

It occurs in Firefox27.0.1 too. It was improved by resetting Firefox, However, it did not work again in few days. (Firefox Menu -> Help -> troubleshooting -> reset firefox.)

In addition, The position that a mouse appoints when I scroll a page in Chrome32/OSX seems to get out of position. I was able to confirm this in Demos(Basic Bars / Horizontal Bars / Basic Pie).

cesutherland commented 10 years ago

I think this has to do with the touch vs. mouse events.

Originally, it was safe to use touch events if they existed otherwise use mouse events. I never made it work with both. Now modern desktop browsers in certain environments have touch events enabled, and flotr uses those instead of mouse events.

On Wed, Feb 19, 2014 at 6:27 PM, masatatsu notifications@github.com wrote:

It occurs in Firefox27.0.1 too. It was improved by resetting Firefox, However, it did not work again in few days. Firefox Menu -> Help -> troubleshooting -> reset firefox.

In addition, The position that a mouse appoints when I scroll a page in Chrome32/OSX seems to get out of position. I was able to confirm this in Demos(Basic Bars / Horizontal Bars / Basic Pie).

Reply to this email directly or view it on GitHubhttps://github.com/HumbleSoftware/Flotr2/issues/268#issuecomment-35580449 .

fresham commented 10 years ago

This works fine for me in the latest Chrome (33.0.1750.152) and Firefox (28.0) on Mac. Is this still a problem on Windows? Can this issue be closed?

aledeg commented 10 years ago

It does not work on FF28 on Window 7 64bit

fresham commented 10 years ago

Okay, just thought I'd double check.

cesutherland commented 10 years ago

Probably this is an issue with the touch events. Currently, Flotr2 only uses either touch or mouse events.

On Wed, Apr 2, 2014 at 9:00 AM, Cody Frazer notifications@github.comwrote:

Okay, just thought I'd double check.

Reply to this email directly or view it on GitHubhttps://github.com/HumbleSoftware/Flotr2/issues/268#issuecomment-39348421 .