fix: adapt chart period label according to granularity

This commit is contained in:
Alexis Fourmaux 2026-05-12 19:51:50 +02:00
parent 28f49b5209
commit 0cb5706ed7
2 changed files with 14 additions and 6 deletions

View file

@ -27,7 +27,7 @@ async function loadData() {
if (chart) {
chart.destroy();
}
chart = renderChart(points);
chart = renderChart(points, granularity);
updateKPIs(points);
}