macdLineWidth property

double macdLineWidth
final

MacdLine width of the macd indicator.

Defaults to 2

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
              indicators: <TechnicalIndicators<dynamic, dynamic>>[
                      MacdIndicator<dynamic, dynamic>(
                            macdLineWidth: 2,)]
                 ));
}

Implementation

final double macdLineWidth;