fix: adapt chart period label according to granularity
This commit is contained in:
parent
28f49b5209
commit
0cb5706ed7
2 changed files with 14 additions and 6 deletions
|
|
@ -27,7 +27,7 @@ async function loadData() {
|
|||
if (chart) {
|
||||
chart.destroy();
|
||||
}
|
||||
chart = renderChart(points);
|
||||
chart = renderChart(points, granularity);
|
||||
updateKPIs(points);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue