margin property

EdgeInsets margin
final

Margin for chart.

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
           margin: const EdgeInsets.all(2),
           borderColor: Colors.blue
       ));
}

Implementation

final EdgeInsets margin;