This commit is contained in:
MuslemRahimi 2025-03-14 13:08:03 +01:00
parent 71447048df
commit 36ab30379b
2 changed files with 3 additions and 6 deletions

View File

@ -129,7 +129,7 @@
labels: {
style: { color: $mode === "light" ? "black" : "white" },
},
title: { text: "null" },
title: { text: null },
opposite: true,
},
tooltip: {

View File

@ -3,7 +3,6 @@
import highcharts from "$lib/highcharts.ts";
import { mode } from "mode-watcher";
import IPOChart from "$lib/components/IPOChart.svelte";
import Lazy from "svelte-lazy";
export let data;
@ -11,7 +10,7 @@
let config = null;
const startYear = 2015;
const startYear = 2019;
const currentYear = new Date().getFullYear();
const yearList = Array.from(
{ length: currentYear - startYear + 1 },
@ -204,9 +203,7 @@
></div>
{#each yearList as year}
<Lazy fadeOption={{ delay: 50, duration: 50 }} keep={true}>
<IPOChart {data} {year} />
</Lazy>
<IPOChart {data} {year} />
{/each}
</div>
</div>