shouldRenderAboveSeries property

bool shouldRenderAboveSeries
final

Specifies the whether plot band need to be rendered above the series.

Defaults to false

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
          primaryXAxis: NumericAxis(
            plotBands: <PlotBand>[
               PlotBand(
                   isVisible:true,
                   shouldRenderAboveSeries: true
               )
             ]
          )
       ));
}

Implementation

final bool shouldRenderAboveSeries;