fix: chart fond transparent + couleurs dark mode

This commit is contained in:
Floppyrj45
2026-04-24 21:14:54 +02:00
parent 1932303ea7
commit 1fd15cd3db

View File

@@ -171,6 +171,8 @@ fetch('/api/trajectory')
pointRadius: 0,
});
}
Chart.defaults.color = '#556';
Chart.defaults.backgroundColor = 'transparent';
new Chart(document.getElementById('depth-chart'), {
type: 'line',
data: { datasets },