title: Fill an array with current day and continue backwards
body: <p>so I have an array which looks like this</p>
  
  <pre><code>var graphData = [{ data: [[1, 1300], [2, 1600], [3, 1900], [4, 2100], [5, 2500], [6, 2200], [7, 1800]}
  </code></pre>
  
  <p>What I would like is instead of 1,2,3 etc. in the array to fill it it with the yesterdays weekday and go backwards.
   So for example today is friday, so first object would be ["thursday", 1300], next object would be ["wednesday",1600] and so on untill all weekdays are selected. And tomorrow the arrays first object would be friday, then thursday etc. </p>
  
  <p>What is the best way to do this?</p>