upperLineColor property

Color upperLineColor
final

Upper line color of the bollinger band.

Defaults to Colors.red.

Widget build(BuildContext context) {
 return SfCartesianChart(
   indicators: <TechnicalIndicators<Sample, num>>[
     BollingerBandIndicator<Sample, num>(
       period: 2,
       standardDeviation: 3,
       upperLineColor: Colors.yellow
     ),
   ],
 );
}

Implementation

final Color upperLineColor;