coord(type, cfg) {
        var coordCfg;

        if (isObject(type)) {
          coordCfg = type;
        } else {
          coordCfg = cfg || {};
          coordCfg.type = type || 'cartesian';
        }

        this.set('coordCfg', coordCfg);
        return this;
      }
/**
       * configure the coordinate
       * @chainable
       * @param  {String} type set the type of coodinate
       * @param  {Object} cfg configuration for coordinate
       * @return {Chart} return the chart instance
       */
configure the coordinate
@chainable
@param  {String} type set the type of coodinate
@param  {Object} cfg configuration for coordinate
@return {Chart} return the chart instance
configure the coordinate @chainable @param { String } type set the type of coodinate @param { Object } cfg configuration for coordinate @return { Chart } return the chart instance
coord(type, cfg) {
        var coordCfg;
        if (isObject(type)) {
          coordCfg = type;
        } else {
          coordCfg = cfg || {};
          coordCfg.type = type || 'cartesian';
        }
        this.set('coordCfg', coordCfg);
        return this;
      }
coord ( type , cfg ) { var coordCfg ; if ( isObject ( type ) ) { coordCfg = type ; } else { coordCfg = cfg || { } ; coordCfg . type = type || 'cartesian' ; } this . set ( 'coordCfg' , coordCfg ) ; return this ; }
configure the coordinate
 @chainable
 @param  {String} type set the type of coodinate
 @param  {Object} cfg configuration for coordinate
 @return {Chart} return the chart instance
configure the coordinate @chainable @param { String } type set the type of coodinate @param { Object } cfg configuration for coordinate @return { Chart } return the chart instance