react-vis icon indicating copy to clipboard operation
react-vis copied to clipboard

LineSeriesCanvas in FlexibleXYPlot container renders in incorrect size on retina screens

Open martoncsikos opened this issue 5 years ago • 4 comments

Example: https://codepen.io/marton/pen/aPvody

This can be reproduced by putting any canvas series in a FlexibleXYPlot container as long as devicePixelRatio !== 1.

#605 seems related

martoncsikos avatar Dec 12 '18 11:12 martoncsikos

I am facing the same issue.

yjw9012 avatar Oct 11 '19 18:10 yjw9012

I can confirm this. Also setting devicePixelRatio to 1 on a retina screen makes the line the correct size, albeit while also looking slightly blurred.

eddyc avatar Oct 29 '19 11:10 eddyc

Any update on this? currently working around it using window.devicePixelRatio = 1, but as the pervious commenter says, it's blurry

makoncline avatar May 22 '20 14:05 makoncline

Hi, is there any update on this? Is this library even being actively maintained?

jrdzha avatar Dec 26 '20 22:12 jrdzha