-
Notifications
You must be signed in to change notification settings - Fork 12k
Overlapping labels on x axis #6109
Copy link
Copy link
Closed
Labels
Milestone
Description
Expected Behavior
Labels should be skipped or rotate so they are not overlapping.
Current Behavior
If the browser gets resized the labels on the x axis could get overlapped.

Steps to Reproduce (for bugs)
- Create a line chart with a x axis of type "time" and no data.
- Resize the browser so the chart gets smaller/bigger.
Here is a sample of the problem:
https://codesandbox.io/s/1vm83xknoj?fontsize=14
Context
I get the data from an custom private API and want to visualize the data with chart.js.
Environment
- Chart.js version: 2.7.3
- Browser name and version: Google Chrome v72.0.3626.119 | CefSharp V69
Reactions are currently unavailable