       @element.append @overview
 
   getSeries: (data) ->
+    @seriesDataNames = {}
     series = []
     _(data).each (seriesData, name) =>
       seriesData = _.map seriesData, (s) -> { x: s[0], y: s[1] }

      stroke = if renderer is "area" then no else palette.stroke
      renderer = @options.series[name]?.renderer or @options.series.renderer
      seriesName = @options.series[name]?.name or name
      series.push {
        data: seriesData
        name: seriesName

    @rangeEnd = @brush.max

  getActiveSeriesNames: ->
    _.compact _.map @graphs[0].series, (s) =>
      @seriesDataNames[s.name] unless s.disabled

  overviewRangeChanged: (start, end) =>
    @element.addClass "#{@options.className}_loading-details"
