The Flutter Cartesian Chart widget provides support to programmatically do the data points selection on the charts using the public methods. Public methods are methods that can be called by using the class object where they are defined. Likewise, our chart widget also has a public method to select the data points in the charts dynamically called as selectionIndex method.
Documentation: https://help.syncfusion.com/flutter/cartesian-charts/methods#methods-in-selectionbehavior
To run this application, you need to first clone or download the ‘selection public methods flutter chart’ repository and open it in your preferred IDE. Then, build and run your project to view the output.
For more help, check the Syncfusion Flutter documentation, or Flutter documentation.