centerLineColor property

Color centerLineColor
final

Center line color of the momentum indicator.

Defaults to Colors.red.

Widget build(BuildContext context) {
 return SfCartesianChart(
   indicators: <TechnicalIndicators<Sample, num>>[
     MomentumIndicator<Sample, num>(
       seriesName: 'Series1'
       centerLineColor : Colors.green
     ),
   ],
   series: <ChartSeries<Sample, num>>[
     HiloOpenCloseSeries<Sample, num>(
       name: 'Series1'
     )
   ]
 );
}

Implementation

final Color centerLineColor;