source(data, colDefs) {
        this.set('data', data);

        if (colDefs) {
          this.scale(colDefs);
        }

        return this;
      }
/**
       * set data and some scale configuration
       * @chainable
       * @param  {Array} data the dataset to visualize
       * @param  {Object} colDefs the configuration for scales
       * @return {Chart} return the chart instance
       */
set data and some scale configuration
@chainable
@param  {Array} data the dataset to visualize
@param  {Object} colDefs the configuration for scales
@return {Chart} return the chart instance
set data and some scale configuration @chainable @param { Array } data the dataset to visualize @param { Object } colDefs the configuration for scales @return { Chart } return the chart instance
source(data, colDefs) {
        this.set('data', data);
        if (colDefs) {
          this.scale(colDefs);
        }
        return this;
      }
source ( data , colDefs ) { this . set ( 'data' , data ) ; if ( colDefs ) { this . scale ( colDefs ) ; } return this ; }
set data and some scale configuration
 @chainable
 @param  {Array} data the dataset to visualize
 @param  {Object} colDefs the configuration for scales
 @return {Chart} return the chart instance
set data and some scale configuration @chainable @param { Array } data the dataset to visualize @param { Object } colDefs the configuration for scales @return { Chart } return the chart instance