plotAreaBackgroundColor property
Specifies the background color of the plot area of the chart.
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: SfTheme(
data: SfThemeData(
chartThemeData: SfChartThemeData(
plotAreaBackgroundColor: Colors.grey[400]
)
),
child: SfCartesianChart()
),
)
);
}
Implementation
final Color plotAreaBackgroundColor;