onChartTouchInteractionUp property

ChartTouchInteractionCallback? onChartTouchInteractionUp
final

Occurs when tapped on the chart area.

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
           onChartTouchInteractionUp: (ChartTouchInteractionArgs args){
              print(args.position.dx.toString());
              print(args.position.dy.toString());
            }
       )
   );
}

Implementation

final ChartTouchInteractionCallback? onChartTouchInteractionUp;