anchor.diff:  		}
   	}
   
  -	function updateElements(nbFilesScanned, nbOSFilesFound, nbFilesToScan) {
  +	function updateBarChart(nbFilesScanned, nbFilesToScan) {
   		var progress_total=0;
   		if (!counting_) {
   			progress_total = 5 + (nbFilesScanned * 95) / nbFilesToScan;
   		}
  +		var json = {
  +			'color' : [ '#9C470E', '#e6e6e6' ],
  +			'label' : [ 'Progress', 'Left' ],
  +			'values' : [ {
  +				'label' : 'Progress',
  +				'values' : [ Math.round(progress_total),
  +						Math.round(100 - progress_total) ]
  +			} ]
  +
  +		};
  +		barChart.updateJSON(json);
  +	}
  +	
  +	function updatePieChart(nbFilesScanned, nbOSFilesFound) {
   		progress_oss = Math.round((nbOSFilesFound * 100) / nbFilesScanned);
   		if (isNaN(progress_oss) || progress_oss == 0) {
   			progress_oss = 0.1;
  
positive.code: 				$("#counter-opensource").text(data.nbOSFilesFoundString);
  				continue_ = (data.progressState != 'COMPLETE');
  				counting_ = (data.progressState == 'INITIALIZING');
  				updateElements(data.displayedFilesScanned,data.nbOSFilesFound,data.nbFilesToScan, counting_);	
  				
  			},
  			complete : function() {
  
negative.code: 				'values' : [ 100 - progress_oss ]
  			} ]
  		};
  		pieChart.updateJSON(json);
  	}
  	
  	
  