function drawContributorsChart()

in content/assets/js/dev-community.js [38:64]


function drawContributorsChart() {
  var data = google.visualization.arrayToDataTable([
      ['Release', 'Committers', 'Contributors', {'role': 'annotation'}],
      ['0.24', 208, 245, ''],
      ['0.25', 139, 180, ''],
      ['0.26', 97, 303, ''],
      ['0.27', 214, 560, ''],
      ['0.28', 126, 381, ''],
      ['1.0-rc2', 445, 1325, '']
  ])

  // Set chart options.
  var options = {
    'title': 'Commit Breakdown by Contributors and Committers',
    '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_contributors_and_committers'));
  chart.draw(data, options);
  drawUniqueContributorsChart();
}