axisBorderType property

AxisBorderType axisBorderType
final

Border type of the axis label.

Defaults to AxisBorderType.rectangle.

Also refer AxisBorderType.

Widget build(BuildContext context) {
  return Container(
    child: SfCartesianChart(
      primaryXAxis: NumericAxis(
        axisBorderType: AxisBorderType.withoutTopAndBottom,
      )
    )
  );
}

Implementation

final AxisBorderType axisBorderType;