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

[docs] Add the 'point' scaleType to the axis documentation #12179

Merged
merged 1 commit into from
Feb 23, 2024

Conversation

alexfauquette
Copy link
Member

Realised when answering #12161

That scaleType='point' is not documented.

It's a bit complex because normally it does not make sens to plot a line chart on categories. With categories you're supposed to use bar chart because their is not an obvious order relation between categories.

But i's usefull if for example you want to display yearly result without bothering with Date objects.

@alexfauquette alexfauquette added docs Improvements or additions to the documentation component: charts This is the name of the generic UI component, not the React module! labels Feb 22, 2024
@mui-bot
Copy link

mui-bot commented Feb 22, 2024

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

Updated pages:

Generated by 🚫 dangerJS against 9df03ad

Copy link
Member

@michelengelen michelengelen left a comment

Choose a reason for hiding this comment

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

LGTM

@alexfauquette alexfauquette merged commit 2ab5070 into mui:next Feb 23, 2024
19 checks passed
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! docs Improvements or additions to the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants