Skip to content
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

FEATURE: Shift/Stagger labels horizontally (for x axis) instead of rotating #5411

Open
JohnArcher opened this issue Apr 13, 2018 · 0 comments

Comments

@JohnArcher
Copy link

Expected Behavior

Instead of rotating the labels while resizing the chart I would like to have the possibility that the labels to stagger (if that is the right term), like shown in this image:

zed8n

This could/should work with autoSkip: false as well as autoSkip: true.

Current Behavior

I disabled the rotation behaviour with maxRotation: 0 and set autoSkip: false. The labels are not readable anymore:

screenshot_13

Steps to Reproduce (for bugs)

CodePen: https://codepen.io/JohnArcher/pen/wmeEMV

Environment

  • Chart.js version: 2.7.2
  • Browser name and version: latest non-dev Chrome
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants