size property

double size
final

Size of the major tick lines.

Defaults to 8.

Size representation of the major ticks.

Widget build(BuildContext context) {
    return Container(
        child: SfCartesianChart(
            primaryXAxis: NumericAxis(
                 majorTickLines: const MajorTickLines(
                   size: 6
                 )
                ),
        )
    );
}

Implementation

final double size;