 # along with osu!web.  If not, see <http://www.gnu.org/licenses/>.
 ###
 class @LineChart
+  transition: 1000
+
   constructor: (area, @options = {}) ->
     @options.scales ||= {}
     @options.scales.x ||= d3.time.scale()


  drawLine: =>
    @svgLine
      .attr 'd', @line




  drawAxes: =>
    @svgXAxis
      .transition @transition
      .attr 'transform', "translate(0, #{@height})"
      .call @xAxis

    @svgYAxis
      .transition @transition
      .call @yAxis

    @svgXAxis.selectAll '.tick line'
