Final code for #595

This commit is contained in:
James Cole committed 2017-04-23 09:33:33 +02:00
1 parent 21c24fd7f0
commit 8ef9223d84
10 files changed
+61 -76

No files matched your search

+8 -4
View File
@@ -8,11 +8,15 @@
* See the LICENSE file for details.
*/
/** global: all, current, specific */
/** global: everything, current, specific */
$(function () {
"use strict";
columnChart(all, 'all');
columnChart(current, 'period');
columnChart(specific, 'period-specific-period');
console.log('Getting charts');
columnChart(everything, 'category-everything');
console.log('Specific: ' + specific);
columnChart(specific, 'specific-period');
});
+1 -1
View File
@@ -186,7 +186,7 @@ function doubleYNonStackedChart(URI, container) {
*/
function columnChart(URI, container) {
"use strict";
console.log('Going to draw column chart for ' + URI + ' in ' + container);
var colorData = true;
var options = defaultChartOptions;
var chartType = 'bar';