-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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] ChartsLegendPropsBase type is broken #14561
[charts] ChartsLegendPropsBase type is broken #14561
Comments
This look like a TS error. In your reproduction, the error message come from the fact is not inside the This should let the code work <PieCharts
...
- />
+ >
<ChartsLegend ... />
+</PieChart> AN the Typescript error message is something to fix on our side |
Likely introduced here: https://github.com/mui/mui-x/pull/14392/files#r1764019386 |
This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue. Note We value your feedback @VFritsch! How was your experience with our support team? |
Steps to reproduce
Link to live example: (required)
https://stackblitz.com/edit/react-ndxp8o?file=Demo.tsx%3AL41
Steps:
<ChartsLegend/>
componentseriesToDisplay
property inslotProps
->legend
Current behavior
Custom legend can't be used/displayed as
seriesToDisplay
property does not exist anymore.Expected behavior
seriesToDisplay
property can be accessed again.Context
No response
Your environment
npx @mui/envinfo
Browser used: Chrome - Version 128.0.6613.120 (64-Bit)
Search keywords: ChartsLegend, @mui/x-charts, seriesToDisplay
Search keywords:
The text was updated successfully, but these errors were encountered: