 
     refresh: =>
       tracker_value = if @gquery.future_value() < @maximum_x then @gquery.future_value() else 200
-      
+
       tracker = [{"x": tracker_value, "y": 0}, {"x": tracker_value, "y": @maximum_y}]
 
       #Create scale functions
       xScale = d3.scale.linear()
-              .domain([0, @maximum_x])
-              .range([0, @width])
+                       .domain([0, @maximum_x])
+                       .range([0, @width])
 
       yScale = d3.scale.linear()
-              .domain([0, @maximum_y])
-              .range([@series_height, 0])
+                       .domain([0, @maximum_y])
+                       .range([@series_height, 0])
 
       lineFunction = d3.svg.line()
-                             .x( (d) ->  xScale(d.x) )
-                             .y( (d) ->  yScale(d.y) )
-                             .interpolate("basis")
+                           .x( (d) ->  xScale(d.x) )
+                           .y( (d) ->  yScale(d.y) )
+                           .interpolate("basis")
 
       d3.select("path#tracker")
-          .attr("d", lineFunction(tracker))+        .attr("d", lineFunction(tracker))

                    .orient("left")
                    .tickValues([])
                    .tickSize(0)
      
      #Create xAxis
      xAxisGroup = @svg.append("g")
                                 .attr("class", "x_axis")
                                 .attr("transform", "translate(0,#{@series_height})")
                                 .call(xAxis)
      
      #Create Y axis
      yAxisGroup = @svg.append("g")
                                 .attr("class", "y_axis")
                                 .attr("transform", "translate(0,0)")
                                 .call(yAxis)
      
      xAxisLabel = xAxisGroup.append("text")
                               .attr("class","label")
                               .attr("x", @width/2)
                               .attr("y", 35)
                               .text("#{I18n.t('output_elements.storage_chart.installed_capacity')}")
                               .attr("text-anchor","middle")
      
      yAxisLabel = yAxisGroup.append("text")
                               .attr("class","label")
                               .attr("x", 0 - (@series_height/2))

      #Width and height
      @maximum_x = 120
      @maximum_y = 400

      # Set to 200 in order to 'move it out of canvas'.
      tracker_value = if @gquery.future_value() < @maximum_x then @gquery.future_value() else 200

      wind_curve = filter_on_y_values wind_curve, @maximum_y
      p2p_curve  = filter_on_y_values p2p_curve, @maximum_y
      p2g_curve  = filter_on_y_values p2g_curve, @maximum_y
      p2h_curve  = filter_on_y_values p2h_curve, @maximum_y

      @tracker = [{"x": tracker_value, "y": 0}, {"x": tracker_value, "y": @maximum_y}]

