enableMultiSelection property
Enables or disables the multiple data points selection.
Defaults to false
.
Widget build(BuildContext context) {
return Container(
child: SfPyramidChart(
enableMultiSelection: true,
series: PyramidSeries<ChartData, String>(
selectionSettings: SelectionSettings(
selectedColor: Colors.red,
unselectedColor: Colors.grey
),
),
));
}
Implementation
final bool enableMultiSelection;