spacing property

double spacing
finalinherited

Spacing between the columns. The value ranges from 0 to 1. 1 represents 100% and 0 represents 0% of the available space.

Spacing also affects the width of the column. For example, setting 20% spacing and 100% width renders the column with 80% of total width.

Defaults to 0

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
           series: <HiloSeries<SalesData, num>>[
               HiloSeries<SalesData, num>(
                 spacing: 0,
               ),
             ],
       ));
}

Implementation

final double spacing;