ChartPointCallback typedef

ChartPointCallback = void Function(String? seriesName, ChartPoint? point)

Fired by LineChart2D / ScatterChart2D on tap or hover. Called with (null, null) when the pointer moves off every point.

Implementation

typedef ChartPointCallback = void Function(String? seriesName, ChartPoint? point);