 
     yAxis = d3.svg.axis().scale(@y).orient("right").ticks(7).tickSize(0)
 
-    @svg.selectAll(".y.axis.right").call(yAxis)
+    @svg.selectAll(".y.axis.right")
+      .transition().duration(250)
+      .call(yAxis)
 
     line = d3.svg.line()
       .x(@calculateX)


    @svg.selectAll('.line.line1')
      .datum(@lineData1)
      .attr("d", line)

    @loadLine1()

  drawLine2: (error, data) =>
    data.forEach (d) ->


    yAxis = d3.svg.axis().scale(@y).orient("left").ticks(7).tickSize(-@width)

    @svg.selectAll(".y.axis.left")
      .transition().duration(250)
      .call(yAxis)

    line = d3.svg.line()
      .x(@calculateX)
