backgroundColor property
final
Background color of the legend.
Defaults to null
Widget build(BuildContext context) {
return Container(
child: SfCartesianChart(
legend: Legend(
isVisible: true,
backgroundColor: Colors.transparent)
));
}
Implementation
final Color backgroundColor