 
     @svg.selectAll('.line.line1')
       .datum(@lineData1)
+      .transition().duration(250).ease('easeInOutQuad').each('start', @loadLine1)
       .attr("d", line)
-
-    @loadLine1()
 
   drawLine2: (error, data) =>
     data.forEach (d) ->


    yAxis = d3.svg.axis().scale(@y).orient("right").ticks(7).tickSize(0)

    @svg.selectAll(".y.axis.right").call(yAxis)

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


    @svg.selectAll('.line.line2')
      .datum(@lineData2)
      .transition().duration(250).ease('easeInOutQuad').each('start', @loadLine2)
      .attr("d", line)

window.TempChart = TempChart