Repository navigation
[charts] Fix use of deprecated API in docs - #22469
Merged
JCQuintas merged 2 commits intoMay 15, 2026
Merged
Conversation
oliviertassinari
marked this pull request as ready for review
May 15, 2026 15:49
oliviertassinari
requested review from
JCQuintas and
alexfauquette
as code owners
May 15, 2026 15:49
Deploy previewhttps://deploy-preview-22469--material-ui-x.netlify.app/ Bundle size
Check out the code infra dashboard for more information about this PR. |
oliviertassinari
force-pushed
the
fix-deprecated-api-use-docs
branch
from
May 15, 2026 15:56
d3e788d to
2d31ca5
Compare
JCQuintas
approved these changes
May 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a continuation of #21553. We have deprecated ChartZoomSlider for ChartsZoomSlider in v8 and in v9.
People expect the docs of the major version they use to run without any deprecations. It's not the case right now. For example in https://mui.com/x/react-charts/zoom-and-pan/#composition, we get:
Since it's faster to open a PR than to open an issue (when I only start them 😁), and it's a regression of the docs experience (regressions take priority over the rest), here is a PR.
I have tested
npx @mui/x-codemod@latest v9.0.0/charts/rename-chart-zoom-slider .It migrates the code correctly, so it seems we are good on this front.There might be an opportunity to fix this at the root: mui/mui-public#1467