From 9b0d6f62bd36828f741c6d4978a16932dbe9ba08 Mon Sep 17 00:00:00 2001 From: Torsten Sprenger Date: Wed, 26 Jul 2023 12:35:08 +0200 Subject: [PATCH] Remove svg animation --- src/routes/svg/+layout.ts | 1 - src/routes/svg/+page.svelte | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) delete mode 100644 src/routes/svg/+layout.ts diff --git a/src/routes/svg/+layout.ts b/src/routes/svg/+layout.ts deleted file mode 100644 index 5829b7e..0000000 --- a/src/routes/svg/+layout.ts +++ /dev/null @@ -1 +0,0 @@ -export const ssr = false; \ No newline at end of file diff --git a/src/routes/svg/+page.svelte b/src/routes/svg/+page.svelte index 6bfbc5b..87b0640 100644 --- a/src/routes/svg/+page.svelte +++ b/src/routes/svg/+page.svelte @@ -34,6 +34,7 @@ barWidth: '80%', }, ], + animationDuration: 0, }; const areaOption: EChartsOption = { @@ -114,6 +115,7 @@ data: [820, 932, 901, 934, 1290, 1330, 1320], }, ], + animationDuration: 0, }; const scatterOption: EChartsOption = { @@ -149,6 +151,7 @@ type: 'scatter', }, ], + animationDuration: 0, }; onMount(() => {