Skip to content

Commit

Permalink
pkp/pkp-lib#9753 [main] Adjust chart.js config option to make it comp…
Browse files Browse the repository at this point in the history
…atible with v4
  • Loading branch information
blesildaramirez committed Aug 13, 2024
1 parent e01fddd commit 9541049
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/themes/default/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
// Modify the Chart.js display options used by UsageStats plugin
document.addEventListener('usageStatsChartOptions.pkp', function(e) {
e.chartOptions.elements.line.backgroundColor = 'rgba(0, 122, 178, 0.6)';
e.chartOptions.elements.rectangle.backgroundColor = 'rgba(0, 122, 178, 0.6)';
e.chartOptions.elements.bar.backgroundColor = 'rgba(0, 122, 178, 0.6)';
});

// Show or hide the reviewer interests field on the registration form
Expand Down

0 comments on commit 9541049

Please sign in to comment.