color property

Color? color
final

Color of the connector line.

Defaults to null.

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
          dataLabelSettings: DataLabelSettings(
           connectorLineSettings: ConnectorLineSettings(
           color: Colors.red,
          )
        )
      )
   );
}

Implementation

final Color? color;