 
   hoverDetail = new Rickshaw.Graph.HoverDetail(graph: graph)
 
-  x_axis = new Rickshaw.Graph.Axis.Time(graph: graph)
-  y_axis = new Rickshaw.Graph.Axis.Y(
+  xAxis = new Rickshaw.Graph.Axis.Time(graph: graph)
+  yAxis = new Rickshaw.Graph.Axis.Y(
     graph: graph
     orientation: "left",
     tickFormat: Rickshaw.Fixtures.Number.formatKMBT

        # Dont allow to disable all series
        return if !$(this).hasClass('disabled') && graph.series.active().length == 1

        m_id = $(this).data('metric-id')
        $(this).parents('.legend-container').find('.legend-' + m_id).toggleClass('disabled')
        for s in graph.series
          if s.id == m_id
            s.disabled = ! s.disabled
            unless s.disabled
              # Reorder the series

      )

  container.find('a.remove').on 'click', (e) ->
    graphId = $(this).data('rem-id')
    removeGraphFromPage(graphId)
    return false
