onChartTouchInteractionMove property
Occurs when touched and moved on the chart area.
Widget build(BuildContext context) {
return Container(
child: SfCartesianChart(
onChartTouchInteractionMove: (ChartTouchInteractionArgs args){
print(args.position.dx.toString());
print(args.position.dy.toString());
}
)
);
}
Implementation
final ChartTouchInteractionCallback? onChartTouchInteractionMove;