anchor.diff:  	      class:'legend',
   	      transform:function(d,i){
   	          //Just a calculation for x and y position
  -	          return 'translate('+1.5*width/2+',' + ((i*legendHeight)+5) + ')';
  +	          return 'translate('+(width-150)+',' + ((i*legendHeight)+60) + ')';
   	      }
   	  });
   	o_legend.append('rect')
  
positive.code: 		  };
  	*/
  	//  !
  	var width = 960, height = 400;
  	//var width = 480, height = 250;
  	var layers0, layers1, o_layers0, o_layers1;
  		var colorRange = ["#E34A33", "#FDBB84", "#FEF0D9"];
  
negative.code: 				}) ]).range([ height, 0 ]);
  
  		//var color = d3.scale.linear().range([ "#aad", "#556" ]);
  		var color_origin = d3.scale.ordinal().range(colorbrewer.Blues[9]);
  		var colorZ = d3.scale.ordinal().range(colorbrewer.Reds[9]);
  		var area = d3.svg.area().interpolate("monotone").x(function(d) {
  			return x(d.x);
  		}).y0(function(d) {
  			return y(d.y0);
  		}).y1(function(d) {
  			return y(d.y0 + d.y);
  		});
  
  		var svg = d3.select("#chart").append("svg").attr("width", width).attr(
  				"height", height);
  