enableMultiSelection property
Enables or disables the multiple data points selection.
Defaults to false
.
SelectionBehavior _selectionBehavior;
void initState() {
_selectionBehavior = SelectionBehavior(enable: true);
super.initState();
}
Widget build(BuildContext context) {
return Container(
child: SfFunnelChart(
enableMultiSelection: true,
series: FunnelSeries<ChartData, String>(
selectionBehavior: _selectionBehavior
),
)
);
}
Implementation
final bool enableMultiSelection;