anchor.diff:                hasDisabled = true;
               }
             }
  -          xScale.domain([metrics[0].data.first()[0], metrics[0].data.last()[0]]);
  +          xScale.domain([minX, maxX]);
             yScale.domain([hasDisabled ? 0.95 * minY : 0, 1.05 * maxY]);
           }
   
  +        var domain = xScale.domain(),
  +            na = (domain[0].getTime() == domain[1].getTime());
           var t = d3.select("#" + graphId);
           if (runTransition) {
             t = t.transition().duration(750);
  
positive.code: 
        svg.append("g")
            .attr("class", "y axis");
  
        var zoomRect = svg.append("rect")
            .attr("width", 0)
  
negative.code:             .call(yAxis);
          t.selectAll(".plot line.level")
              .attr("y1", function(d) {return yScale(d.value)})
              .attr("y2", function(d) {return yScale(d.value)})
              .style("visibility", na ? "hidden" : "visible");
          t.selectAll(".plot circle.level")
              .attr("cy", function(d) {return yScale(d.value)})
              .style("visibility", na ? "hidden" : "visible");
          t.select("text.na")
              .style("visibility", na ? "visible" : "hidden");
  
          t.selectAll(".plot g.metric")
              .style("visibility", function (d) {return (d.enabled ? "visible" : "hidden")})
  