borderColor property

Color? borderColor
final

Border color of the axis label.

Defaults to Colors.transparent.

Widget build(BuildContext context) {
  return Container(
    child: SfCartesianChart(
      primaryXAxis: NumericAxis(
        borderColor: Colors.black,
      )
    )
  );
}

Implementation

final Color? borderColor;