     return @minMaxHours
 
 
+  updateMinMaxHours : ->
+
+    @minMaxHours = {}
+    @getMinMaxHours()
+
+
   updateSelectedTeam : ->
 
     @team = @ui.team.find("select")[0].value
+    @updateMinMaxHours()
+    @renderRangeSlider()
 
 
   onRender : ->

    svgFutureTaskTypesEdges = ""
    svgProjectEdges = ""

    if @doDrawTaskTypes()

      svgTaskTypeEdges = userInfos.map( (userInfo) =>
        { user, taskTypes } = userInfo
        taskTypes.map( (taskType) => @edge(user.name, taskType.summary)) if @doDrawUser(user)
      ).join(";")

      svgFutureTaskTypesEdges  = "edge [ color=blue ];"
      svgFutureTaskTypesEdges += userInfos.map( (userInfo) =>
        { user, futureTaskType } = userInfo
        if(futureTaskType)
          @edge(user.name, futureTaskType.summary) if @doDrawUser(user)


  buildNodes : (taskTypes, projects) ->

    svgUsers = _.compact(@users.map( (user) =>
      if @doDrawUser(user)
        userName = user.firstName + " " + user.lastName
        workingHours = user.workingHours
