fix: chart fond transparent + couleurs dark mode
This commit is contained in:
@@ -171,6 +171,8 @@ fetch('/api/trajectory')
|
|||||||
pointRadius: 0,
|
pointRadius: 0,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Chart.defaults.color = '#556';
|
||||||
|
Chart.defaults.backgroundColor = 'transparent';
|
||||||
new Chart(document.getElementById('depth-chart'), {
|
new Chart(document.getElementById('depth-chart'), {
|
||||||
type: 'line',
|
type: 'line',
|
||||||
data: { datasets },
|
data: { datasets },
|
||||||
|
|||||||
Reference in New Issue
Block a user