-
Notifications
You must be signed in to change notification settings - Fork 11.9k
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
Bar chart with indexAxis: 'y' requires data.labels (whereas 'x' does not) #11684
Labels
Comments
Hi, we are a group of students at the KTH Royal Institute of Technology and are taking a course in software engineering. We would like to work on this issue in one of our upcoming assignments and are therefore wondering if we could be assigned to it? Thanks! Update: @ItsRkaj just made a PR with a solution, he is part of our group! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected behavior
A bar chart with indexAxis: 'y' should behave the same (mirrored) as with indexAxis: 'x'. data.labels should not be required.
Current behavior
A bar chart with indexAxis: 'y' doesn't show anything if data.labels is not defined.
Reproducible sample
https://codepen.io/alemmer/pen/PoLMLgz
Optional extra steps/info to reproduce
No response
Possible solution
No response
Context
No response
chart.js version
4.4.1
Browser name and version
any
Link to your project
No response
The text was updated successfully, but these errors were encountered: