connectorLineSettings property

ConnectorLineSettings connectorLineSettings
final

Customizes the connector lines. Connector line is rendered when the data label is placed outside the chart.

Note: This is applicable for pie and doughnut series types alone.

Widget build(BuildContext context) {
  return SfCircularChart(
    series: <PieSeries<SalesData, String>>[
      PieSeries<SalesData, String>(
        dataLabelSettings: DataLabelSettings(
          isVisible: true,
          connectorLineSettings: ConnectorLineSettings(
            width: 6,
            type:ConnectorType.curve
          )
        ),
      ),
    ],
  );
}

Implementation

final ConnectorLineSettings connectorLineSettings;