     maxYValue: ->
       d3.max(
         @model.target_series().map(
-          (serie) -> d3.max(serie.future_value())
+          (serie) -> serie.future_value()
         )
       )
 

        .attr('cx', (data) -> xScale(data.x))
        .attr('cy', (data) -> yScale(data.y))
        .attr('data-tooltip-text', (data) =>
          "COP #{Metric.round_number(data.y, 2)}, " +
          "#{Metric.round_number(data.x, 2)} #{@model.get('unit')} "
        )

      @drawLegend(@model.non_target_series().concat(@model.target_series()), 2)

D3.hhp_cop_cost =
  View: class extends D3ChartView
    MIN_COP = 1
    MAX_COP = 6

    COP_LIST = [MIN_COP]

    while COP_LIST[COP_LIST.length - 1] < MAX_COP
      COP_LIST.push(Math.round(10 * (COP_LIST[COP_LIST.length - 1] + 0.1)) / 10)

    initialize: ->
      D3ChartView.prototype.initialize.call(this)
