-
Notifications
You must be signed in to change notification settings - Fork 464
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
keep labels on edges visible #263
Comments
Here is an example: |
@OmranAbazid You can try this solution for a quick fix: I added "null" value to the end of array data and also to the beginning of array data, therefore, real data can be visible completely. ( the Ox axis is expanded ) |
Thanks for the suggested fix. This would help to fix the truncation but line charts will still look weird with these gaps. |
The main chart.js library tooltips always stay visible if they are at the edge of the chart diagram.
![Screenshot 2021-07-21 at 5 17 22 PM](https://user-images.githubusercontent.com/9063094/126514179-a19b812b-8026-4127-a06a-5b0cb8658407.png)
Here is an example of that:
Where if we do the same thing using this plugin, the tooltips get truncated:
![Screenshot 2021-07-21 at 5 18 50 PM](https://user-images.githubusercontent.com/9063094/126514451-55e8cbf0-8420-454a-abe0-5db3c1bb69a6.png)
It would be really great, if the tooltips changes alignment to stay visible on the edges of the screen.
This can be done automatically or using additional property.
The text was updated successfully, but these errors were encountered: