 
     # this method is called every time we're updating the chart
     refresh: =>
-      max_height = @node_list.max_column_value()
+      max_height = @max_column_value()
 
       # update the scaling function
       @y.domain([0, max_height * 1.25])
         .range([0, @height * .90])
 
       # update the node label
-      @nodes.data(@node_list.models, (d) -> d.get('id'))
+      @nodes.data(@node_list, (d) -> d.get('id'))
         .attr("data-tooltip", (d) =>
           h = "<strong>
             #{d.label()}: #{Metric.autoscale_value d.value(), 'PJ', 2}

        @use_present = true
      else
        k = @key
      @node_list = new namespace.NodeList(namespace.charts[k].data.nodes)
      @link_list = _.map namespace.charts[k].data.links, (l) -> new D3.sankey.Link(l)
      @initialize_defaults()


          if link.value() == 0.0 then 'none' else 'inline'
        )

    # returns the height of the tallest column
    max_column_value: =>
      sums = {}
      for n in @node_list
        column = n.get 'column'
        sums[column] = sums[column] || 0
        sums[column] += n.value()
      _.max _.values(sums)
