     width: 320
     height: 240
 
+  optionListeners =
+    'option:width': 'dimensionsChanged'
+    'option:height': 'dimensionsChanged'
+
   # Creates a new base chart.
   # @param [Object] options Options to set for this chart.
   # @option options [Integer] width Sets an explicit width for the visualization (optional).

    else
      @width = defaults.width unless @width?
      @height = defaults.height unless @height?

  # @return [Object] A copy of this charts options.
  _getAllOptions: ->

        width: @width,
        height: @height

  # Resizes the svg element in response to a 'option:width' or 'option:height' event.
  dimensionsChanged: ->
    super()
    @svg.attr('width', @width).attr('height', @height)

# Base Class for all Canvas based charts.
class Epoch.Chart.Canvas extends Epoch.Chart.Base
  # Initializes the chart and places the rendering canvas in the specified
