From f365a9aeb44c33a1c817ae19a6027aa0fbffd706 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sun, 19 Jun 2022 20:08:42 +0200 Subject: Update all test dependencies (#4419) * Update all test dependencies * Remove old false-positive * Minor update lock files * Increase PHPStan memory for Fedora https://github.com/FreshRSS/FreshRSS/pull/4400#issuecomment-1159514197 * Require PHP8+ for tests Due to small changes of signature in `ob_implicit_flush` and `simplexml_load_string`, cf. https://github.com/FreshRSS/FreshRSS/pull/4123 * Missing lint in CSS files --- p/scripts/statsWithChartjs.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'p/scripts/statsWithChartjs.js') diff --git a/p/scripts/statsWithChartjs.js b/p/scripts/statsWithChartjs.js index 5656fe944..3398ee89c 100644 --- a/p/scripts/statsWithChartjs.js +++ b/p/scripts/statsWithChartjs.js @@ -47,10 +47,10 @@ function jsonChartBar(label, data, xAxisLabels = '') { data: { labels: xAxisLabels, datasets: [{ - label: label, + label, backgroundColor: '#0062BD', borderColor: '#0062BD', - data: data, + data, barPercentage: 1.0, categoryPercentage: 1.0, order: 2, @@ -80,7 +80,7 @@ function jsonChartDoughnut(labels, data) { return { type: 'doughnut', data: { - labels: labels, + labels, datasets: [{ backgroundColor: [ '#0b84a5', // petrol @@ -97,7 +97,7 @@ function jsonChartDoughnut(labels, data) { '#ffa056', // orange '#8dddd0', // turkis ], - data: data, + data, }], }, options: { -- cgit v1.2.3