     keys = Ext.Array.pluck(@alerts || [], "name")
     keys = keys.concat(@topKeys || [])
     keys = keys.concat(@subKeys || [])
+
     seriesData = @prepareSeriesData(keys)
 
     series = []

    @fireEvent "topkeyclick"

  renderChart: () ->

    # Remove old components and create container:
    @removeAll()

      total = record.get(@topKeys[0])
      for key in keys
        value = record.get(key)
        @hasData ||= value
        percent = 100 * value / total
        ans[key].push
          x: record.get("timestamp")
