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] Add docs for scatter "Size" section #16556

Merged
merged 2 commits into from
Feb 13, 2025

Conversation

bernardobelchior
Copy link
Member

Document how to customize the size of scatter points.

Related to this comment.

One thing I'd like your input on is that at the moment the scatter points are hardcoded to render as circles. The impact of this is the markerSize is not the width of the marker, but rather the radius, so a markerSize of 10 is equally a circle of width 20. I find this a bit odd. Would it make sense to change this? I think we'll need to do this change eventually if we want to support more/custom shapes.

@bernardobelchior bernardobelchior requested review from alexfauquette and JCQuintas and removed request for alexfauquette February 12, 2025 16:23
@mui-bot
Copy link

mui-bot commented Feb 12, 2025

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

Updated pages:

Generated by 🚫 dangerJS against 0c252a2

@bernardobelchior bernardobelchior 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 12, 2025
Copy link

codspeed-hq bot commented Feb 12, 2025

CodSpeed Performance Report

Merging #16556 will not alter performance

Comparing bernardobelchior:document-scatter-size (0c252a2) with master (6f095be)

Summary

✅ 6 untouched benchmarks

Co-authored-by: Alexandre Fauquette <45398769+alexfauquette@users.noreply.github.com>
Signed-off-by: Bernardo Belchior <Bernardo.belchior1@gmail.com>
@bernardobelchior bernardobelchior marked this pull request as ready for review February 13, 2025 08:40
@bernardobelchior bernardobelchior merged commit ef9c040 into mui:master Feb 13, 2025
19 checks passed
@bernardobelchior bernardobelchior deleted the document-scatter-size branch February 13, 2025 08:58
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