histogramNegativeColor property

Color histogramNegativeColor
final

Histogram Negative color of the macd indicator.

Defaults to Colors.red

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
              indicators: <TechnicalIndicators<dynamic, dynamic>>[
                      MacdIndicator<dynamic, dynamic>(
                            histogramNegativeColor: Colors.red,)]
                 ));
}

Implementation

final Color histogramNegativeColor;