width property

double width
final

Width of the major grid lines.

Defaults to 0.7.

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
           primaryXAxis: NumericAxis(
                majorGridLines: MajorGridLines(
                  width:2
                )
               ),
       )
    );
}

Implementation

final double width;