       series: @generateSeries(data.datasets)
 
   budgetChart: (id, data) ->
+    currentWeek = @getCurrentWeek(data.labels)
     $(id).highcharts
       chart:
         type: 'line'

      categories.push {short: date.format("MMM"), long: date.format("MMMM"), date: date.format("DD. MMMM YYYY")}
    categories


  invoicesChart: (id, data) ->
    $(id).highcharts
      chart:
        type: 'line'

        }]
      tooltip:
        shared: true
        crosshairs: [{
          color: 'rgba(51, 51, 51, 0.2)'
        }]
        headerFormat: '<div class="highcharts-tooltip-header"><b>{point.key.date}</b></div>'
        pointFormatter: ->
          value = accounting.formatMoney(@y, {symbol: '€', format: '%v %s', decimal: ',', thousand: '.'})
