     color = (d) -> c(d.key)
 
     selection.attr('transform', (_, i) -> "translate(0, #{i * h})") # FIXME
-      .append('rect').attr('width', @legend_width).attr('height', h).style('fill', 'white').style('stroke', 'blue') # TEMP, but should include a background rect for hover
+      .append('rect').attr('width', @legend_width).attr('height', h).style('fill', 'white').style('stroke', 'none') 
     selection.append('g')
       .attr('class', 'legend-icon')
       .attr("transform", "translate(10, #{h/2})")

        @_checked[d] = false
      else
        @_checked[d] = true
      #@filter_data(@container.selectAll('input:checked').data())
      @filter_data((key for key, condition of @_checked when condition))
      @render()
    )

    items.append('text').attr('class', 'legend_text')
      .text((d) -> d)


  #initialize_legend: ->

      .append('rect')
      .attr('width', @legend_width)
      .attr('height', @height)
      .style('stroke', 'none')
      .style('fill', 'none')
    #
    
