shouldRenderAboveSeries property

bool shouldRenderAboveSeries
final

Specifies whether the plot band needs 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;