code: function (option, ecModel) {
          var layoutMode = this.layoutMode;
          var inputPositionParams = layoutMode
              ? getLayoutParams(option) : {};
  
          // Backward compat: using subType on theme.
          // But if name duplicate between series subType
          // (for example: parallel) add component mainType,
          // add suffix 'Series'.
          var themeSubType = this.subType;
          if (ComponentModel.hasClass(themeSubType)) {
              themeSubType += 'Series';
          }
          zrUtil.merge(
              option,
              ecModel.getTheme().get(this.subType)
          );
          zrUtil.merge(option, this.getDefaultOption());
  
          // Default label emphasis `show`
          modelUtil.defaultEmphasis(option, 'label', ['show']);
  
          this.fillDataTextStyle(option.data);
  
          if (layoutMode) {
              mergeLayoutParam(option, inputPositionParams, layoutMode);
          }
      }
docs: Util for merge default and theme to option
  @param  {Object} option
  @param  {module:echarts/model/Global} ecModel