Skip to content

[charts] Improve radar slice #16932

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

Merged
merged 2 commits into from
Mar 12, 2025

Conversation

alexfauquette
Copy link
Member

I noticed that the point I disiliked in the radar slice highlight is due to a computation imprecision.

Initially, I've set the notion of slice to the middle path between two value points. In this PR I replace the definition by the intersection of the line between two points, and the middle angle.

image

@alexfauquette alexfauquette added type: enhancement This is not a bug, nor a new feature scope: charts Changes or issues related to the charts product labels Mar 12, 2025
@mui-bot
Copy link

mui-bot commented Mar 12, 2025

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

Generated by 🚫 dangerJS against e41aced

Copy link

codspeed-hq bot commented Mar 12, 2025

CodSpeed Performance Report

Merging #16932 will not alter performance

Comparing alexfauquette:improve-slice-highlight (e41aced) with master (cb56bfd)

Summary

✅ 7 untouched benchmarks

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.

Looks much nicer 👍

@alexfauquette alexfauquette merged commit 37bd08c into mui:master Mar 12, 2025
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: charts Changes or issues related to the charts product type: enhancement This is not a bug, nor a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants