connectorLineSettings property

WaterfallConnectorLineSettings connectorLineSettings
final

Options to customize the waterfall chart connector line.

Data points in waterfall chart are connected using the connector line. Provides the options to change the width, color and dash array of the connector line to customize the appearance.

Defaults to null.

Widget build(BuildContext context) {
  return SfCartesianChart(
    series: <WaterfallSeries<SalesData, num>>[
      WaterfallSeries<SalesData, num>(
        connectorLineSettings: WaterfallConnectorLineSettings(
          width: 2,
          color: Colors.black,
          dashArray: [2,3]
        ),
      ),
    ],
  );
}

Implementation

final WaterfallConnectorLineSettings connectorLineSettings;