code: function(type,item,index){
      var _self = this,
        seriesCfg = _self.get('seriesOptions'),
        colors = _self.get('colors'),
        data = _self.get('data'),
        fields = _self.get('fields'),
        symbols = _self.get('symbols');
  
      item = Util.mix(true,{},seriesCfg[type + 'Cfg'],item);
  
      item.invert = _self.get('invert');
      
      //颜色
      if(!item.color && colors.length){
        item.color = colors[index % (colors.length)];
      }
      //marker的形状
      if(item.markers && item.markers.marker && !item.markers.marker.symbol){
        item.markers.marker.symbol = symbols[index % symbols.length];
      }
      if(data && !item.data){
        if(fields){
          item.data = _self._getSeriesData(item.name,index);
        }else{
          item.data = data;
        }
      }
      return item;
    }
docs: 获取序列的配置信息