labelIntersectAction property

LabelIntersectAction labelIntersectAction
final

Action on data labels intersection.

The intersecting data labels can be hidden.

Defaults to LabelIntersectAction.hide.

Also refer LabelIntersectAction.

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
           series: <SplineSeries<SalesData, num>>[
               SplineSeries<SalesData, num>(
                 dataLabelSettings: DataLabelSettings(
                      isVisible: true,color: Colors.yellow
                      labelIntersectAction: LabelIntersectAction.none),
               ),
             ],
       ));
}

Implementation

final LabelIntersectAction labelIntersectAction;