handleTapUp method
Implementation
void handleTapUp(TapUpDetails details) {
final Offset localPosition = globalToLocal(details.globalPosition);
if (parent != null && _interactiveSegment != null) {
final bool hasSelection = _selectionEnabled &&
parent!.selectionGesture == ActivationMode.singleTap;
final bool hasTooltip = _tooltipEnabled &&
parent!.tooltipBehavior!.activationMode == ActivationMode.singleTap;
_handleCurrentInteraction(hasSelection, hasTooltip, localPosition);
}
dataLabelContainer?.handleTapUp(localPosition);
}