borderColor property

Color? borderColor
final

Specifies the border color of multi-level labels.

Defaults to 'null'

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

Implementation

final Color? borderColor;