mantine
mantine copied to clipboard
Donut chart legend modification
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.