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] Move the ZAxisContextProvider by default in the ChartContainer #13465

Merged
merged 1 commit into from
Jun 12, 2024

Conversation

alexfauquette
Copy link
Member

@alexfauquette alexfauquette commented Jun 12, 2024

Currently, you have to add this context if needed (for example on scatter chart with composition).

The tradeoff feels bad. Might be better to have all context in the container. I removed the zAxis type propagation fot charts that do not use it (every charts except scatter for now).

Part of #13209

@mui-bot
Copy link

mui-bot commented Jun 12, 2024

Deploy preview: https://deploy-preview-13465--material-ui-x.netlify.app/

Updated pages:

Generated by 🚫 dangerJS against b14ebf0

@alexfauquette alexfauquette added the component: charts This is the name of the generic UI component, not the React module! label Jun 12, 2024
Copy link
Member

@JCQuintas JCQuintas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable. Do you feel bad because of optimisation? I checked the code and it relies on the existence of the config, so it shouldn't really add much to the actual performance

@alexfauquette alexfauquette merged commit b84b0ae into mui:master Jun 12, 2024
17 of 18 checks passed
@JCQuintas JCQuintas mentioned this pull request Jun 13, 2024
7 tasks
DungTiger pushed a commit to DungTiger/mui-x that referenced this pull request Jul 23, 2024
thomasmoon pushed a commit to thomasmoon/mui-x that referenced this pull request Sep 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

Successfully merging this pull request may close these issues.

3 participants