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

Donut chart legend modification #7210

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

mariakax3
Copy link
Contributor

Resolves https://github.com/orgs/mantinedev/discussions/6987
Added legendMode and legendOrientation properties. The legendMode allows to control how the legend behaves. When set to 'side', the legend is displayed on the side of the chart, and hovering over a row in the legend highlights the corresponding segment in the chart. When set to 'hover', the legend is hidden by default and only appears on hover.
The legendOrientation property enables the customization of the legend's position.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant