function drawMonthlyChart()

in content/assets/js/dev-community.js [94:125]


function drawMonthlyChart() {
  var data = google.visualization.arrayToDataTable([
    ['Release', 'Apple', 'Metamarkets', 'Twitter', 'Mesosphere', 'Other', 'Microsoft', 'IBM', {'role': 'annotation'}],
    ['2015-07', 0, 0, 71 , 124, 45 , 8 , 1 , ''],
    ['2015-08', 2, 0, 107, 99 , 46 , 5 , 7 , ''],
    ['2015-09', 0, 0, 71 , 132, 56 , 30, 28, ''],
    ['2015-10', 0, 0, 17 , 94 , 29 , 43, 10, ''],
    ['2015-11', 1, 0, 31 , 138, 71 , 0 , 9 , ''],
    ['2015-12', 0, 0, 1  , 195, 61 , 17, 10, ''],
    ['2016-01', 0, 0, 0  , 301, 71 , 22, 13, ''],
    ['2016-02', 0, 0, 0  , 258, 46 , 12, 12, ''],
    ['2016-03', 0, 0, 0  , 296, 78 , 42, 36, ''],
    ['2016-04', 2, 0, 0  , 184, 75 , 37, 58, ''],
    ['2016-05', 6, 0, 0  , 237, 50 , 50, 52, ''],
    ['2016-06', 7, 1, 0  , 268, 118, 16, 66, '']
  ])

  // Set chart options.
  var options = {
    'title': 'Commit Breakdown by Organizations and Months',
    'width': 600,
    'height': 400,
    'isStacked': true,
    'groupWidth': '90%',
    'legend': { position: 'top', maxLines: 30 }
  };

  // Instantiate and draw our chart, passing in some options.
  var chart = new google.visualization.ColumnChart(
      document.getElementById('commit_breakdown_by_organizations_and_months'));
  chart.draw(data, options);
}