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 Container(
       child: SfCartesianChart(
           series: <BoxAndWhiskerSeries<SalesData, num>>[
               BoxAndWhiskerSeries<SalesData, num>(
                 showMean: true
               ),
             ],
       ));
}

Implementation

final bool showMean;