onPointTapped property
Occurs when tapping a series point. Here, you can get the series, series index and point index.
Widget build(BuildContext context) {
return Container(
child: SfCircularChart(
onPointTapped: (PointTapArgs args) => point(args),
));
}
void point(PointTapArgs args) {
print(args.seriesIndex);
}
Implementation
final CircularPointTapCallback? onPointTapped;