macdLineColor property

Color macdLineColor
final

Macd line color of the macd indicator.

Defaults to Colors.orange.

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

Implementation

final Color macdLineColor;