@@ -285,7 +285,8 @@
fetchData();
}
- $: if (historyData.length > 0 && chartCanvas) {
+ $: chartDependencies = [historyData, liveCurrentValue, showCurrentPoint];
+ $: if (historyData.length > 0 && chartCanvas && chartDependencies) {
renderChart(historyData);