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

[charts] BarChart horizontal now breaks the series value passing #14332

Closed
whsmacon opened this issue Aug 25, 2024 · 2 comments · Fixed by #14337
Closed

[charts] BarChart horizontal now breaks the series value passing #14332

whsmacon opened this issue Aug 25, 2024 · 2 comments · Fixed by #14337
Labels
bug 🐛 Something doesn't work component: charts This is the name of the generic UI component, not the React module! regression A bug, but worse

Comments

@whsmacon
Copy link

whsmacon commented Aug 25, 2024

Steps to reproduce

Link to live example: (required)

Steps:
1.
2.
3.

Current behavior

No response

Expected behavior

No response

Context

image

Your environment

npx @mui/envinfo
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

Search keywords: barChart horizontal

@whsmacon whsmacon added bug 🐛 Something doesn't work status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Aug 25, 2024
@github-actions github-actions bot added the component: charts This is the name of the generic UI component, not the React module! label Aug 25, 2024
@alexfauquette alexfauquette added regression A bug, but worse and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Aug 26, 2024
@alexfauquette
Copy link
Member

I confirm the regression. That's because the tooltip looked for axis with index set to undefined to know if the band scale is on the x-axis or y-axis. But we recently moved from undefined to a value of -1

I opened a PR to fix it

@alexfauquette alexfauquette changed the title Charts - BarChart horizontal now breaks the series value passing [charts] BarChart horizontal now breaks the series value passing Aug 26, 2024
Copy link

⚠️ This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue.
Now, if you have additional information related to this issue or things that could help future readers, feel free to leave a comment.

@whsmacon: How did we do? Your experience with our support team matters to us. If you have a moment, please share your thoughts in this short Support Satisfaction survey.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work component: charts This is the name of the generic UI component, not the React module! regression A bug, but worse
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants