connectorLineSettings property Null safety

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.

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

Implementation

final WaterfallConnectorLineSettings connectorLineSettings;