onTap property

void Function(double fraction)? onTap
final

Called when the user taps a data point. fraction is the x-position in 0..1 of the full data range.

Implementation

final void Function(double fraction)? onTap;