     yAxis:
       title:
         text: 'Percent'
+    legend:
+      enabled: false
     plotOptions:
       area:
         stacking: 'percent'

$ ->
  weeks = []
  artists = []

  socket = io.connect('http://' + document.domain + ':' + location.port)


    chart = $('#chart').highcharts()
    for [artist, count] in pairs
      if artist not in artists
        data[artist] = []
        artists.push(artist)
        data[artist] = (0 for __ in weeks)
        chart.addSeries
          name: artist
          data: data[artist]
        , false
      seriesIndex = artists.indexOf(artist)
      data[artist][weeks.indexOf(timestamp)] = count
      chart.series[seriesIndex].setData(data[artist], false)
    chart.redraw()

  $('#submit').click ->
    weeks = []
    artists = []
    data = {}
    username = $('#username').val().trim()
    timeRange = $('#time-range li.active').attr('id')
    fromDate = switch timeRange
