chartjs / chartjs/chartjs-plugin-datalabels

keep labels on edges visible

Open
#263 4 comments 2 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
920
Forks
507
PR merge metrics
No merged PRs in 30d

Description

The main chart.js library tooltips always stay visible if they are at the edge of the chart diagram.
Here is an example of that:
![Screenshot 2021-07-21 at 5 17 22 PM](https://user-images.githubusercontent.com/9063094/126514179-a19b812b-8026-4127-a06a-5b0cb8658407.png)

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.