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

Handle axis lineWidth as an array #5751

Merged
merged 1 commit into from Nov 18, 2018

Conversation

etimberg
Copy link
Member

@etimberg etimberg commented Oct 1, 2018

When the axis lineWidth setting is set to an array, use the first item when determining the size of the axis area.

Resolves #5668

use the first item when determining the size of the axis area.

Resolves chartjs#5668
@benmccann
Copy link
Contributor

Is this a new feature or a bug? The linked issue says they want to have a different thickness for every gridline, but here we're only accessing the first item of the array. Do the other items get accessed somewhere?

@etimberg
Copy link
Member Author

etimberg commented Oct 1, 2018

Yeah, we already correctly handle the array case elsewhere except when measuring the axis size

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants