text property

String? text
finalinherited

Text to be displayed in grouping label as the multi-level label.

Defaults to 'null'

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

Implementation

final String? text;