centerLineWidth property

double centerLineWidth
final

Center line width of the momentum indicator.

Defaults to 2.

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

Implementation

final double centerLineWidth;