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

Category scale should show labels not values #4516

Closed
andig opened this issue Jul 17, 2017 · 1 comment
Closed

Category scale should show labels not values #4516

andig opened this issue Jul 17, 2017 · 1 comment

Comments

@andig
Copy link
Contributor

andig commented Jul 17, 2017

Follow-up of #4506 and #3732.

Issue: if labels is specified, tooltip will show label of y axis tick.
If yLabels is specified instead, tooltip will show value of y axis tick. This appears wrong.

As follow-up of #4506 consistent behaviour should be to display labels as part of the getLabelForIndex function https://github.com/chartjs/Chart.js/blob/master/src/scales/scale.category.js#L51, regardless of axis orientation.

@kurkle
Copy link
Member

kurkle commented Jan 24, 2019

Fixed by #5920

@kurkle kurkle closed this as completed Jan 24, 2019
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

3 participants