plotAreaBackgroundImage property

ImageProvider<Object>? plotAreaBackgroundImage
final

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;