isVisible property Null safety

bool isVisible
final

Toggles the visibility of the axis.

Visibility of all the elements in the axis such as title, labels, major tick lines, and major grid lines will be toggled together.

Defaults to true.

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
          primaryXAxis: NumericAxis(isVisible: false),
       ));
}

Implementation

final bool isVisible;