code: function _handleAddTooltip(tooltipType) {
      let initString = getCurrentConfig();
      let tooltipInitString = tooltipConfigs[tooltipType].initString;
      initString = initString.concat(tooltipInitString);
      configEditor.setValue(prettifyInitString(initString));
      setNewChart();
  }
docs: Adds tooltip code to the editor
  @param  {string} tooltipType Constant from constant file