LineChart documentation suggests to use deprecated `verticalAlign` in `legendProps`
Author: NOTMEE12Created Sep 27, 2026Updated Sep 28, 2026
Link to the page where something is not right
https://mantine.dev/charts/line-chart/#legend-position
What is wrong?
I only looked at that doc, might be more Charts documentation that suggest the same.
The doc:
You can pass props down to the recharts Legend component with the legendProps prop. For example, setting
legendProps={{ verticalAlign: 'bottom', height: 50 }}will render the legend at the bottom of the chart and set its height to 50px.
According to the code, this is deprecated in favor of position
Self-service
- I would be willing to implement a fix for this issue
Source: mantinedev/mantine