onChartTap property
Callback invoked when the chart background (empty area) is tapped.
Provides the global tap position. Only fires when tapping on empty chart area (not on data points). Optional. If null, background taps are ignored.
Implementation
final ChartTapCallback? onChartTap;