HumbleSoftware / Flotr2

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

Crosshair ghosting is back after Chrome 59 update #318

Open maeeast opened 7 years ago

maeeast commented 7 years ago

I had a graph that was working fine before my chrome updated (and is still working fine in IE and FF). In chrome 59 the crosshair ghosting issue has returned. Does anyone know what in the chrome update broke this or have a fix for it?

maeeast commented 7 years ago

I fixed the issue in my deployment of flotr2.js by changing: 5316 octx.save(); 5317 octx.strokeStyle = options.color; 5318 octx.lineWidth = 1; 5319 octx.beginPath();

to

5316 octx.save(); 5317 octx.strokeStyle = options.color; 5318 octx.lineWidth = .5; 5319 octx.beginPath();

That seems to fix the issue with the crosshair path leaving a trail.