title: Chart.js - consolidating days to month totals along the x (time) axis?
body: <p>I'm feeding two daily statistics datasets into my chart. As you can see, each element represents the value for a particular day.</p>
  
  <pre><code>"data":[[{"y":"1",  "x":"2018-04-01T04:00:00Z"},
           {"y":"14", "x":"2018-04-02T04:00:00Z"},
           {"y":"5",  "x":"2018-04-03T04:00:00Z"},
           {"y":"7",  "x":"2018-04-04T04:00:00Z"},
           ...
  </code></pre>
  
  <p>The x axis is defined as follows:</p>
  
  <pre><code>xAxes: [{
           type: 'time',
           distribution: 'series',
           time: {
                  unit: 'month'
                 }
          }]
  </code></pre>
  
  <p>I (naively?) thought that the chart would be rolling up (summing) the day values into the appropriate month buckets but that's not what I got. Instead, I got monthly tick marks along the x-axis but data points are plotted within the chart at daily precision. (See screenshot.)</p>
  
  <p>Before I go ahead and reprocess my dataset to manually roll up days into their respective month buckets, I'd like to hear whether the chart can in fact do this for me but I'm just setting this up wrong, or whether I do in fact need to take care of this summarization myself, before supplying the dataset to the chart for plotting.</p>
  
  <p>Thanks for your advice!</p>