There is a bug with the legend on SfCartesianChart with the wrap mode on.
If it just the right size, it can actually draw over the graph.
See image below, the legend is within the orange box.
This is on MacOS.
Standard sfcartesian widgets.
We have checked the shared code snippet at our end and the issue is not reproduced at our end. The wrapped legends are showing in their area and not overlapped with the series. So, we kindly request you share more information about your chart code snippet. And we have also shared the sample below, please try to reproduce the reported issue in the shared sample and revert to us, so that it will help us assist you in a better way.
I finally figured out what is the issue.
I am using a Material3 theme using https://pub.dev/packages/flex_color_scheme and it causes the text to overlap. Going back to material2 fixed this.
We are happy to hear that the solution was found by yourself. If you have any further queries, please get back to us. We are always happy to assist you.