       {key: 'offshore',               unit: 'km2'}
     ]
 
-  # This represents a carrier within a sector
   Target: class extends Backbone.Model
     initialize: =>
       key = @get 'key'
-      @namespace = D3.target_bar
-      @success_query = new ChartSerie({gquery_key: "policy_goal_#{key}_reached"})
-      @value_query   = new ChartSerie({gquery_key: "policy_goal_#{key}_value"})
-      @target_query  = new ChartSerie({gquery_key: "policy_goal_#{key}_target_value"})
-      @namespace.series.push @success_query, @value_query, @target_query
+      @view = @get 'view'
+      @success_query = new ChartSerie(gquery_key: "policy_goal_#{key}_reached")
+      @value_query   = new ChartSerie(gquery_key: "policy_goal_#{key}_value")
+      @target_query  = new ChartSerie(gquery_key: "policy_goal_#{key}_target_value")
+      @view.series.push @success_query, @value_query, @target_query
       @scale = d3.scale.linear()
       @axis = d3.svg.axis().tickSize(2, 0).ticks(4).orient('bottom')
 


    initialize: ->
      @key = @model.get 'key'
      @namespace = D3.target_bar
      @namespace.series = @model.series
      @targets = []
      @targets.push(new @namespace.Target(t)) for t in @namespace.data[@key]

      @initialize_defaults()

    outer_height: -> 250

    draw: =>
      margins =
        top: 25
        bottom: 10
        left: 35
        right: 18

      @width = @available_width() - (margins.left + margins.right)
      @height = @outer_height() - (margins.top + margins.bottom)
      @namespace.width = @width
      t.scale.range([80, @width]) for t in @targets
      @svg = @create_svg_container @width, @height, @margins

      # Every target belongs to a group which is translated altogether

        .text((d) -> I18n.t "targets.#{d.get 'key'}")
        .attr('class', 'target_label')
        .attr('text-anchor', 'end')
        .attr('x', @label_width)
        .attr('y', 1)

      @items.append("svg:text")
        .text((d) -> d.get 'unit')
        .attr('class', 'target_unit')
        .attr('text-anchor', 'end')
        .attr('x', @label_width)
        .attr('y', 15)

      # now bars and axis
      # This group contains bars, target lines and x-axis
      @blocks = @items.append("svg:g")
        .attr("transform", "translate(#{@label_width + @label_margin})")

      current_values = @blocks.append("svg:rect")
        .attr('class', 'current_value')
