isVisible property

  1. @override
bool isVisible
final

Toggles the visibility of the series.

Defaults to true.

Widget build(BuildContext context) {
  return SfCartesianChart(
    series: <BarSeries<SalesData, num>>[
      BarSeries<SalesData, num>(
        isVisible: false
      ),
    ],
  );
}

Implementation

@override
final bool isVisible;