plotAreaBackgroundColor property

Color? plotAreaBackgroundColor
final

Background color of the plot area.

Defaults to Colors.transparent.

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
           plotAreaBackgroundColor: Colors.red,
       ));
}

Implementation

final Color? plotAreaBackgroundColor;