Hello,
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.
SfCartesianChart(
plotAreaBorderWidth: 2,
plotAreaBorderColor: Colors.orange,
margin: const EdgeInsets.only(right: 0, left: 0, top: 5, bottom: 5),
legend: Legend(
isVisible: true,
overflowMode: LegendItemOverflowMode.wrap,
position: LegendPosition.top,
textStyle: const TextStyle(fontSize: 11),
// padding: 50,
orientation: LegendItemOrientation.horizontal,
width: '100%',
),
This is on MacOS.
Standard sfcartesian widgets.