diff --git a/packages/client/src/components/app/charts/ApexChart.svelte b/packages/client/src/components/app/charts/ApexChart.svelte index ee0e0480e7..6010c326ac 100644 --- a/packages/client/src/components/app/charts/ApexChart.svelte +++ b/packages/client/src/components/app/charts/ApexChart.svelte @@ -47,16 +47,15 @@ } $: noData = optionsCopy == null || optionsCopy?.series?.length === 0 - $: hide = noData - // Call render chart upon changes to hide, as apex charts has issues with rendering upon changes automatically + // Call render chart upon changes to noData, as apex charts has issues with rendering upon changes automatically // if the chart is hidden. - $: renderChart(chartElement, hide) + $: renderChart(chartElement, noData) $: updateChart(optionsCopy) {#key optionsCopy?.customColor} -
+
{#if $builderStore.inBuilder && noData}