       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
+      @seriesDataNames[seriesName] = name
       series.push {
         data: seriesData
         name: seriesName

      @element.append @overview

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

    @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"
