code quality changes
Build and Push Docker Image / build-and-push (pull_request) Successful in 1m3s
Python Code Quality / python-code-quality (pull_request) Successful in 10s
Python Test / python-test (pull_request) Successful in 17s

This commit is contained in:
Brian Bjarke Jensen
2026-01-27 21:21:55 +01:00
parent b2aa71b95b
commit ec0e1f6140
11 changed files with 664 additions and 506 deletions
+8 -4
View File
@@ -895,7 +895,7 @@
x: {
stacked: true,
},
y: getChartScaleOptions('y', {
y: getChartScaleOptions("y", {
stacked: true,
beginAtZero: true,
title: {
@@ -1056,7 +1056,7 @@
responsive: true,
maintainAspectRatio: false,
scales: {
y: getChartScaleOptions('y', {
y: getChartScaleOptions("y", {
beginAtZero: true,
ticks: {
callback: function (value) {
@@ -1135,8 +1135,12 @@
loadData();
// Listen for theme changes and update charts
window.addEventListener('themechange', () => {
const charts = [barChartInstance, durationChartInstance, avgDurationChartInstance].filter(c => c);
window.addEventListener("themechange", () => {
const charts = [
barChartInstance,
durationChartInstance,
avgDurationChartInstance,
].filter((c) => c);
updateChartsForTheme(charts);
});
</script>