blob: a26a86cb0f020b0ca76e55d4b8322a77b551d3f0 [file] [log] [blame]
<?php
/********************************************************************************
* Copyright (c) 2018 The Eclipse Foundation
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* SPDX-License-Identifier: EPL-2.0
********************************************************************************/
require_once dirname(__FILE__) . '/../charts.inc';
function chart_simrel_ide_quarterly_summary($context) {
return ChartBuilder::named('simrel_ide_quarterly_summary')
->title("Eclipse IDE Simultaneous Release Quarterly Summary")
->description(
"Quarterly statistics on the Eclipse IDE Simultaneous Release")
->query('dashboard', "
select
concat(year, 'Q', quarter) as quarter,
projects, contributors, committers, companies
from SimrelQuarterlyContributionSummary
order by year, quarter"
)
->column('Quarter', 'quarter', 'string', function($value) {return asYearMonth($value);})
->column('Projects', 'projects', 'number')
->column('Contributors', 'contributors', 'number')
->column('Committers', 'committers', 'number')
->column('Companies', 'companies', 'number');
}
?>