labelIntersectAction property

LabelIntersectAction labelIntersectAction
final

Action on data labels intersection.

The intersecting data labels can be hidden.

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

Defaults to LabelIntersectAction.shift.

Also refer LabelIntersectAction.

Widget build(BuildContext context) {
  return SfCircularChart(
    series: <PieSeries<SalesData, num>>[
      PieSeries<SalesData, num>(
        dataLabelSettings: DataLabelSettings(
          isVisible: true,
          labelIntersectAction: LabelIntersectAction.shift
        ),
      ),
    ],
  );
}

Implementation

final LabelIntersectAction labelIntersectAction;