     @ctx.drawImage @paint, delta, 0
     super()
 
+  # Changes the number of buckets in response to an <code>option:buckets</code> event.
+  bucketsChanged: ->@redraw()
+
 # "Audio... Audio... Audio... Video Disco..." - Justice

    # Create the paint canvas
    @_setupPaintCanvas()

  # Prepares initially set data for rendering.
  # @param [Array] data Layered histogram data for the visualization.
  setData: (data) ->

    maxTotal = 0

    for layer in @data
      entry = @_getBuckets( layer.values[entryIndex] )
      for bucket, count of entry.buckets
        bucketTotals[bucket] += count
      maxTotal += entry.max
