upperLineColor property

Color upperLineColor
final

Color of the upper line for RSI indicator.

Defaults to Colors.red.

Widget build(BuildContext context) {
 return SfCartesianChart(
   indicators: <TechnicalIndicator<Sample, num>>[
     RsiIndicator<Sample, num>(
       seriesName: 'Series1'
       upperLineColor : Colors.greenAccent
     ),
   ],
   series: <CartesianSeries<Sample, num>>[
     HiloOpenCloseSeries<Sample, num>(
       name: 'Series1'
     )
   ]
 );
}

Implementation

final Color upperLineColor;