diff --git a/core/client/components/chart/KTimeSeriesChart.vue b/core/client/components/chart/KTimeSeriesChart.vue index 0ed5f31d9..34c8e02fd 100644 --- a/core/client/components/chart/KTimeSeriesChart.vue +++ b/core/client/components/chart/KTimeSeriesChart.vue @@ -409,7 +409,10 @@ async function update () { const config = await makeChartConfig() if (!config) { - if (chart) chart.destroy() + if (chart) { + chart.clear() + chart.destroy() + } chart = null hasData.value = false return