wip watten

This commit is contained in:
salam committed 2026-10-18 17:49:22 +02:00
1 parent 8ace316cbf
commit afc8a6e1f5
93 files changed
+14369 -1

No files matched your search

@@ -0,0 +1,45 @@
document.myChart;
function ladeStatistik() {
$.ajax({
url: "../index.php",
type: "GET",
data: {
application: "loadstatistik",
event_id: $("#spieltagselect").val()
},
dataType: "json"
}).done(function(response) {
myChart.data = response;
myChart.update();
});
}
$(document).ready(function() {
const ctx = document.getElementById("dotterStatistikErgebnisse");
myChart = new Chart(ctx, {
type: "line",
data: [],
options: {
animations: {
tension: {
duration: 2000,
easing: "linear",
from: 0.5,
to: 0,
loop: true
}
},
responsive: true,
plugins: {
legend: {
position: "top"
},
title: {
display: false,
text: "FC Dotterbühel"
}
}
}
});
ladeStatistik();
});