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