-
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
[BUG] Spacing between vertical bars with percentages set to 1 #3964
Comments
I'm guessing this a numerical/rounding error with the pixel calculations |
I did a little bit of digging and found out removing the Math.round inside DatasetScale.getPixelForValue function solves the problem. But it probably degrades the canvas performance because of sub-pixel rendering. |
Is there a way to override DatasetScale.getPixelForValue without modifying Chart.js? |
@aresn Is this how you modified the DatasetScale?
|
I am referencing #2216 since it is not working for me
The border width of the dataset is set to 0.
In options:
Here is the codepen where spaces can be seen.
Is there a way to solve this?
Environment
The text was updated successfully, but these errors were encountered: