color property
Color of the connector line.
Defaults to null
.
Widget build(BuildContext context) {
return Container(
child: SfCartesianChart(
series: <LineSeries<SalesData,num>>[
LineSeries<SalesData, num>(
dataLabelSettings: DataLabelSettings(
connectorLineSettings: ConnectorLineSettings(
color: Colors.red,
)
)
)
]
)
);
}
Implementation
final Color? color;