         sum += record.get(otherSubkey) for otherSubkey in unselectedSubkeys
         record.set(@othersKey, sum)
     @chartContainer.add Ext.create "Muleview.view.MuleChart",
+      flex: 1
       showAreas: true
       keys: @selectedSubkeys
       listeners:

      alerts: @alerts[retName]
      store: store
      showLegend: @showLegend

  # Creates a flat store from a hash of {
  #   key1 => [[count, batch, timestamp], ...],

        @chartContainer = Ext.create "Ext.panel.Panel",
          region: "center"
          header: false
          layout:
            type: "vbox"
            align: "stretch"
          tbar: [
              "Show:"
            ,
