negativePointsColor property

Color? negativePointsColor
final

Color of the negative data points in the series.

If no color is specified, then the negative data points will be rendered with the series default color.

Defaults to null.

Widget build(BuildContext context) {
  return SfCartesianChart(
    series: <WaterfallSeries<SalesData, num>>[
      WaterfallSeries<SalesData, num>(
        negativePointsColor: Colors.red,
      ),
    ],
  );
}

Implementation

final Color? negativePointsColor;