diff options
| author | 2022-06-19 20:08:42 +0200 | |
|---|---|---|
| committer | 2022-06-19 20:08:42 +0200 | |
| commit | f365a9aeb44c33a1c817ae19a6027aa0fbffd706 (patch) | |
| tree | 6f93f55d5c71eda6672168a7f1250ad1d784c5ef /p/scripts/statsWithChartjs.js | |
| parent | 238e55b2fd7f08b5ce866b712c43c1a8fa03a657 (diff) | |
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
Diffstat (limited to 'p/scripts/statsWithChartjs.js')
| -rw-r--r-- | p/scripts/statsWithChartjs.js | 8 |
1 files changed, 4 insertions, 4 deletions
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: { |
