level property

int level
finalinherited

Level specifies in which row the multi-level label should be positioned.

Defaults to '0'

Widget build(BuildContext context) {
  return Container(
    child: SfCartesianChart(
      primaryXAxis:
        NumericAxis(multiLevelLabels: const <NumericMultiLevelLabel>[
          NumericMultiLevelLabel(
            start: 0,
            end: 4,
            level: 1,
            text: 'First Level',
          )
        ]
      )
    )
  );
}

Implementation

final int level;