         circles.attr('r', 4)
       selection.classed 'hovered', true
     unhovers = hover_selections.merge(mouse_out)
-    .withStateMachine([], (previous, event) -> [[event], previous])
-    .filter (e) -> e.selection?
+      .withStateMachine([], (previous, event) -> [[event], previous])
+      .filter (e) -> e.selection?
     unhovers.onValue ({selection, index}) ->
       selection.classed 'hovered', false
       if type == 'line'

    brushend = -> brushBus.push setNotBrushing

    brush = d3.svg.brush()
    .x(x)
    .on("brush", brushed)
    .on('brushstart', brushstart)
    .on('brushend', brushend)

    brushG.call(brush)


      target.scatterValues = filter_scatter_values values

    svg
      .attr('width', width + margin.left + margin.right)
      .attr('height', height + margin.top + margin.bottom)
      .style('background-color', params.bgcolor)

    g
      .attr("transform", "translate(#{margin.left},#{margin.top})")

    xAxisG
      .attr('class', 'x axis')
      .attr('transform', "translate(0, #{height})")
      .call(x_axis)

    yXaxisG.call(y_axis)

    vertical_crosshair
      .attr('y2', height)

    brushed = ->
      brushBus.push if brush.empty() then clearExtent else (v) -> _.extend {}, v, {extent: brush.extent()}
