code: function (chart) {
              if (chart._tooltipGroup !== null && chart._tooltipGroup !== undefined) {
                  chart._tooltipGroup.remove();
              }
          }
docs: Handle the mouse leave event