showMean property

bool showMean
final

Indication for mean value in box plot.

If showMean property value is set to true, a cross symbol will be displayed at the mean value, for each data point in box plot. Else, it will not be displayed.

Defaults to true.

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

Implementation

final bool showMean;