     @element.addClass "#{@options.className}_loading-details"
     @rangeStart = start
     @rangeEnd = end
-    @options.dataSelectionChanged(start, end, @getActiveSeriesNames())
+    @options.dataSelectionChanged(start, end, @getActiveSeriesNames(), @seriesColors)
     $.ajax
       dataType: "jsonp"
       url: "#{@url}"

        @renderOverviewGraph(series)
        @updateSeries()
        @updateLegend() if @options.legend
        @options.dataSelectionChanged @rangeStart, @rangeEnd, @getActiveSeriesNames()

    @legend = new PG.Legend @legendContainer, @graphs, {
      onToggle: (seriesStates) =>
        @seriesStates = seriesStates
        @options.dataSelectionChanged(@rangeStart, @rangeEnd, @getActiveSeriesNames(), @seriesColors)
    }

  updateSeries: =>
