plotAreaBackgroundImage property
Background image for chart.
Defaults to null
.
Widget build(BuildContext context) {
return Container(
child: SfCartesianChart(
plotAreaBackgroundImage: const AssetImage('images/bike.png'),
)
);
}
Implementation
final ImageProvider? plotAreaBackgroundImage;