       .transition().duration(1000).attr('x2', @width)
     lines.exit().remove()
 
-    labels = @y_scale.selectAll('text.scale_label').data(@ticks())
+    labels = @y_scale_labels.selectAll('text.scale_label').data(@ticks())
     labels.enter()
       .append('text').attr('class', 'scale_label')
       .style('fill', ZVG.flatUIColors['CLOUDS'])

      .attr('height', @height)
      .style('stroke', 'none')
      .style('fill', ZVG.flatUIColors['CONCRETE'])

  # if the minimum value isn't shown on the scale, add a 0 at the bottom.
  ticks: ->

    @render_legend()
    @bind_value_group_hover()
    @bind_value_group_click()
    @widenAxis()

  minimum_column_width: 32
  x_offset: 30
