upperLineColor property

Color upperLineColor
final

Color of the upper line for stochastic Indicator.

Defaults to Colors.red.

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

Implementation

final Color upperLineColor;