-
Notifications
You must be signed in to change notification settings - Fork 11.9k
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
Chart v3.0.0-rc.5 - Gridlines (Safari vs. Chrom) and Bubble Chart Resize padding #8726
Comments
The grid,can you try if |
Not sure if that defaults is the Chart.js defaults, but if is, then its a map by scale |
Without setting the color of the gridlines, everything is rendered correctly: It only happens when I set the grid.color. If I don't do that, the GridLines will be rendered correctly.
|
If you dont set the lineWidth with the color, any change? |
also the color is missing # |
ok, good. so it is an alignment issue of thin lines < 1px |
Yes, if i set the lineWidth >= 1px all is for safari o.k |
@etimberg But not on OSX Desktop Browser Safari Version 13.1.2 (13609.3.5.1.5). If set the line width >= 1 px all is o.k |
Unfortunately, I don't have Safari 13 to test with myself. Do you know what the |
Result: window.devicePixelRatio = 1 |
@etimberg |
Expected Behavior
Current Behavior
Grid lines are rendered differently in the Safari and Chrome / Firefox browser.
It looks good on mobile (Android Chrome, Vivalid, Firefox).
Am I doing something wrong or is this a bug in the Safari browser?
When I click on a legend, the display size becomes smaller (resize) and a free space is created on the right. When deselecting the legend, the size is retained. But only comes with certain sizes of e.g. canavas size: 354 x 320.
This effect does not occur with any of the other charts.
Possible Solution
Steps to Reproduce
Test case: http://www.ipscon.com/test/
Context
Environment
Chart.js version: v3.0.0-rc.5
Browser name and version: ✖︎ Safari Version 13.1.2 (13609.3.5.1.5), ✔︎ Vivaldi | 3.7.2218.45 (Stable channel) (x86_64), Chrome Version 89.0.4389.90 (Offizieller Build) (x86_64)
Link to your project:
The text was updated successfully, but these errors were encountered: