interval property

double interval
final

Axis interval value. Using this, the axis labels can be displayed after certain interval value.

Defaults to null

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
          primaryXAxis: NumericAxis(interval: 1),
       ));
}

Implementation

final double interval