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

[BUG] Tick documentation is missing autoSkipPadding #3490

Closed
bretjb opened this issue Oct 19, 2016 · 2 comments
Closed

[BUG] Tick documentation is missing autoSkipPadding #3490

bretjb opened this issue Oct 19, 2016 · 2 comments

Comments

@bretjb
Copy link
Contributor

bretjb commented Oct 19, 2016

Currently, there is an undocumented feature that will increase the padding between ticks when auto skip is enabled and it has been activated.

Current Behavior

autoSkipPadding is not included in the documentation, but it is in the tests and in source where it is used in calculating where ticks should be drawn on the canvas.

Expected Behavior & Possible Solution

The tick documentation should have something like the following in the Scales documentation, under 'Ticks'
autoSkipPadding: number - padding between ticks on the same axis when values have been skipped.

Environment

  • Chart.js version: 2.2.2

Notes

If this is accepted as a bug, I can submit a PR with a fix. :) Thanks

@etimberg
Copy link
Member

@bretjb I would be happy to look at a PR for this

@etimberg etimberg added this to the Version 2.5 milestone Oct 23, 2016
etimberg pushed a commit that referenced this issue Oct 25, 2016
Adding a single line to the docs to document autoSkipPadding.
etimberg added a commit that referenced this issue Dec 30, 2016
… for the comparison table. Fixed #3547, #3490, and #3118  while at it.
etimberg added a commit that referenced this issue Jan 8, 2017
… for the comparison table. Fixed #3547, #3490, and #3118  while at it.
@etimberg etimberg modified the milestones: Version 2.6, Version 2.5 Jan 15, 2017
@etimberg
Copy link
Member

Fixed in #3751

exwm pushed a commit to exwm/Chart.js that referenced this issue Apr 30, 2021
Adding a single line to the docs to document autoSkipPadding.
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