graphs: disable animation during live update

This commit is contained in:
Girish Ramakrishnan
2025-05-21 18:38:01 +02:00
parent b54d34127e
commit eb201d3474

View File

@@ -48,7 +48,7 @@ async function liveRefresh() {
if (!data.cpu[0]) return; // value can be null if no previous value
gGraph.data.labels.push(moment(data.cpu[1]*1000).format('hh:mm'));
gGraph.data.datasets[0].data.push(data.cpu[0]);
gGraph.update();
gGraph.update('none'); // disables animation
};
}