selectionController property

RangeController selectionController

Controller used to set the maximum and minimum values for the chart.By providing the selection controller, the maximum and The minimum range of selected series or points can be customized

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
           selectionBehavior: SelectionBehavior(
               selectionController:  controller,


final RangeController selectionController;