-
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
The rightmost data point gets cut off for line chart #6414
Comments
I fixed this by adding
Also posted the answer here: |
Still in v3 https://codepen.io/etimberg/pen/vYKxEPB |
I am using 3.8 and I still see this issue. Worse, the |
I have updated the codepen of @etimberg for version 3.8.0. https://codepen.io/stockinail/pen/zYWNQEZ And it seems working. Can you provide a codepen to do additional tests? |
This happens when you have |
I am exactly in the use case @kurkle mentions, we have |
Here's a codepen reproducing the problem with |
And here's the codepen with https://codepen.io/bartocc/pen/bGvqvpd Looks like |
Expected Behavior
Line chart will be displayed in full from the first (left) to last (rightmost) data point.
Current Behavior
The data point to the far right gets cropped off.
But the tooltip is displayed fine.
Steps to Reproduce (for bugs)
This is a working example of this bug:
https://codepen.io/LeoU/pen/gVLybO
Context
I made a basic line chart using Chart.js version 2.8.0
Environment
I've seen elsewhere that zoom plug-in has a known issue where dots get cropped off. But I am not using zoom or any other plug-in.
The text was updated successfully, but these errors were encountered: