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] Pie chart center label in 7.1.1 #12695

Closed
3pleFly opened this issue Apr 8, 2024 · 3 comments
Closed

[charts] Pie chart center label in 7.1.1 #12695

3pleFly opened this issue Apr 8, 2024 · 3 comments
Labels
component: charts This is the name of the generic UI component, not the React module!

Comments

@3pleFly
Copy link

3pleFly commented Apr 8, 2024

Summary

Hello, you have already added center label for pie charts here:
#10220

However in version 7.1.1 these are not available... I have been looking for how to do this over the documentation and library files and have no found a solution... Am I missing something or was this feature trashed in version 7?

Examples

#10220

Motivation

My pie chart has an inner radius so that the center of it is empty, and I need to add a label there.
image

Search keywords: Pie chart center label

@3pleFly 3pleFly added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Apr 8, 2024
@alexfauquette
Copy link
Member

What make you say it got removed?

It's still in the docs demo

@alexfauquette alexfauquette added status: waiting for author Issue with insufficient information component: charts This is the name of the generic UI component, not the React module! and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Apr 8, 2024
@alexfauquette alexfauquette changed the title Pie chart center label in 7.1.1 [charts] Pie chart center label in 7.1.1 Apr 8, 2024
@3pleFly
Copy link
Author

3pleFly commented Apr 9, 2024

What make you say it got removed?

It's still in the docs demo

Apologies I missed a key detail is that you can't import useDrawingArea from '@mui/x-charts/hooks/useDrawingArea', which is mentioned in #10220 . That's what I was missing, since you can import it from "@mui/x-charts/hooks".

@3pleFly 3pleFly closed this as completed Apr 9, 2024
@github-actions github-actions bot added status: waiting for maintainer These issues haven't been looked at yet by a maintainer and removed status: waiting for author Issue with insufficient information labels Apr 9, 2024
Copy link

github-actions bot commented Apr 9, 2024

⚠️ 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.

@3pleFly: 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.

@github-actions github-actions bot removed the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: charts This is the name of the generic UI component, not the React module!
Projects
None yet
Development

No branches or pull requests

2 participants