     # Gross hacks. Let's fix this.
     width = (Dashing.widget_base_dimensions[0] * container.data("sizex")) + Dashing.widget_margins[0] * 2 * (container.data("sizex") - 1)
     height = (Dashing.widget_base_dimensions[1] * container.data("sizey"))
-    if container.data("colorscheme") 
-      scheme = container.data("colorscheme")
-    else if container.data("colors") 
-      scheme = container.data("colors").split(' ')
+    
+    if $(@node).data("colorscheme") 
+      scheme = $(@node).data("colorscheme")
+    else if $(@node).data("colors") 
+      scheme = $(@node).data("colors").split(' ')
     else 
       scheme = 'spectrum14'
     palette = new Rickshaw.Color.Palette({scheme: scheme})

    
    @graph = new Rickshaw.Graph(
      element: @node
      width: width
      height: height
      series: seriesCombined


    x_axis = new Rickshaw.Graph.Axis.Time(graph: @graph)
    y_axis = new Rickshaw.Graph.Axis.Y(graph: @graph, tickFormat: Rickshaw.Fixtures.Number.formatKMBT)
    @graph.renderer.unstack if $(@node).data("unstack")
    @graph.render()

  onData: (data) ->
