Skip to content
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

Line charts printed as PDF show phantom lines when viewed in Chrome #114

Open
jhbrown-veradept opened this issue Apr 6, 2022 · 0 comments

Comments

@jhbrown-veradept
Copy link

A chart printed to PDF can show a phantom line when viewed in Chrome. Here is a close-up view near the origin, note the faint line:

image

This snapshot is taken from the second page of the attached PDF file.

I believe this is actually due to a known bug in Chrome -- https://bugs.chromium.org/p/chromium/issues/detail?id=1201141&q=svg%20pdf&can=2

The line does not appear when I view the PDF in Mac preview, or in Safari, or in Firefox.

Given the ubiquity of Chrome, I am wondering: might the workaround suggested in the bug report might be usable in elm-charts, specifically "replacing "stroke: transparent" with "stroke: none" as a workaround"?

Finally, thank you for elm-charts, it makes my life better!

demo.pdf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant