 
   init: ->
     @modelStats @stats
-    console.log 'initialized!'
 
   resize: =>
     @width = parseInt(d3.select('.js-landing-graph').style('width')) - (@margin.left) - (@margin.right)

  landingUserStatsElements[0].chart?.init()

landingUserStatsResize = =>
  console.log 'landingUserStatsResize called'
  return if !landingUserStatsElements[0]?

  landingUserStatsElements[0].chart?.resize()

    @svg.select('.landing-graph__circle').attr 'cx', @xScale(@maxElem.date)

landingUserStatsInitialize = =>
  landingUserStatsElements = document.getElementsByClassName('js-landing-graph')
  return if !landingUserStatsElements[0]?

