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] Fix area with log scale #13791

Merged
merged 1 commit into from
Jul 10, 2024
Merged

Conversation

alexfauquette
Copy link
Member

@alexfauquette alexfauquette commented Jul 10, 2024

Fix #13759

The issue codesandbox with the fix https://codesandbox.io/s/quirky-meadow-glcdvy?file=/src/Demo.tsx

@JCQuintas The idea is to use the axis scale to replace the base value if out of range (the scale returns a NaN) I assume it will be impacted by zoom in a sens that we will need to refine the replacement value to be compatible

@alexfauquette alexfauquette added the component: charts This is the name of the generic UI component, not the React module! label Jul 10, 2024
@mui-bot
Copy link

mui-bot commented Jul 10, 2024

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

Generated by 🚫 dangerJS against 52fba67

@alexfauquette alexfauquette requested a review from JCQuintas July 10, 2024 09:49
@alexfauquette alexfauquette merged commit 0c98c78 into mui:master Jul 10, 2024
18 checks passed
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.

[charts] Area Chart does not allow logarithmic scale
3 participants