Skip to content

[charts] Add disableTruncation to cartesian axes #17603

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bernardobelchior
Copy link
Member

Fixes #17595.

Add disableTruncation to cartesian axes. This is especially useful when customizing tick labels. In that cases, users might not want to receive the truncated values and prefer dealing with the original label values instead.

@bernardobelchior bernardobelchior added enhancement This is not a bug, nor a new feature component: charts This is the name of the generic UI component, not the React module! labels Apr 29, 2025
@mui-bot
Copy link

mui-bot commented Apr 29, 2025

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

Updated pages:

Generated by 🚫 dangerJS against d4c7ca4

Copy link

codspeed-hq bot commented Apr 29, 2025

CodSpeed Performance Report

Merging #17603 will not alter performance

Comparing bernardobelchior:add-disable-truncation (d4c7ca4) with master (bfb69bb)

Summary

✅ 8 untouched benchmarks

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! enhancement This is not a bug, nor a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[charts] Add a disableTruncate prop to ChartsXAxis/ChartsYAxis to opt-out of default ellipsis
2 participants