selectionType property

SelectionType selectionType
final

Mode of selecting the data points or series.

Defaults to SelectionType.point.

Also refer SelectionType.

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
           selectionType: SelectionType.series,
        )
    );
}

Implementation

final SelectionType selectionType;