isVisible property

bool isVisible
final

Toggles the visibility of the data label in the series.

Defaults to false.

Widget build(BuildContext context) {
  return SfCartesianChart(
    series: <SplineSeries<SalesData, num>>[
      SplineSeries<SalesData, num>(
        dataLabelSettings: DataLabelSettings(
          isVisible: true
        ),
      ),
    ],
  );
}

Implementation

final bool isVisible;