-
Notifications
You must be signed in to change notification settings - Fork 721
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lines not using crispEdges show up fuzzy on non-retina screens #656
Comments
This seems like a reasonable change to me, happy to review a PR! |
Hi, may I work on this one? trying to get to know more about this tool :) |
Hey @ArvinH (and @williaster) I actually just worked on this last night, you can review the PR here: #840 |
Fixed in #840 |
Hi, this change introduced in #840 is causing dotted lines not to be displayed. I achieve the dotted line effect with a rounded line cap (
It seems like it is a browser rendering issue though - I've tested both in Chrome and Firefox and the lines are displayed when increasing/decreasing the zoom level, which leads me to think that there is some sort of bug on the implementation of the I can make the lines be displayed with EDIT: manually manipulating the decimals in |
Hi @jbanulso, for now the work around would be to set <Line
from={{ x: x1, y: y1 }}
to={{ x: x2, y: y2 }}
+ shapeRendering="auto"
/> |
Hi @hshoff, that will do it, thank you for the quick answer. And thank you for the great work with this library, it's great to see the progress over the last years 🚀 |
I'm using a windows machine to develop and I noticed that the lines in vx were fuzzy. I found this explanation, which seems to be correct.
Expand images to see sharpness of bottom axis:
Current
With
shape-rendering="crispEdges"
online
or parentg
Would you be open to adding
shape-rendering="crispEdges"
for lines? The only downside to usingcrispEdges
is that it produces sharp edges even for rounded objects. TheLine
andAxis
components currently don't make rounded shapes, so I think adding it to those will be safe at least.The text was updated successfully, but these errors were encountered: