docs: function saveTooltipAxisInfo(fromTooltip, triggerTooltip, axis) {
              var axisPointerModel = axis.model.getModel('axisPointer', globalAxisPointerModel);
  
              var axisPointerShow = axisPointerModel.get('show');
              if (!axisPointerShow || (
                  axisPointerShow === 'auto'
                  && !fromTooltip
                  && !isHandleTrigger(axisPointerModel)
              )) {
                  return;
              }
  
              if (triggerTooltip == null) {
                  triggerTooltip = axisPointerModel.get('triggerTooltip');
              }
  
              axisPointerModel = fromTooltip
                  ? makeAxisPointerModel(
                      axis, baseTooltipModel, globalAxisPointerModel, ecModel,
                      fromTooltip, triggerTooltip
                  )
                  : axisPointerModel;
  
              var snap = axisPointerModel.get('snap');
              var key = makeKey(axis.model);
              var involveSeries = triggerTooltip || snap || axis.type === 'category';
  
              // If result.axesInfo[key] exist, override it (tooltip has higher priority).
              var axisInfo = result.axesInfo[key] = {
                  key: key,
                  axis: axis,
                  coordSys: coordSys,
                  axisPointerModel: axisPointerModel,
                  triggerTooltip: triggerTooltip,
                  involveSeries: involveSeries,
                  snap: snap,
                  useHandle: isHandleTrigger(axisPointerModel),
                  seriesModels: []
              };
              axesInfoInCoordSys[key] = axisInfo;
              result.seriesInvolved |= involveSeries;
  
              var groupIndex = getLinkGroupIndex(linksOption, axis);
              if (groupIndex != null) {
                  var linkGroup = linkGroups[groupIndex] || (linkGroups[groupIndex] = {axesInfo: {}});
                  linkGroup.axesInfo[key] = axisInfo;
                  linkGroup.mapper = linksOption[groupIndex].mapper;
                  axisInfo.linkGroup = linkGroup;
              }
          }