diff --git a/src/lib/components/IPOChart.svelte b/src/lib/components/IPOChart.svelte index 79a1ac3f..384804e5 100644 --- a/src/lib/components/IPOChart.svelte +++ b/src/lib/components/IPOChart.svelte @@ -129,7 +129,7 @@ labels: { style: { color: $mode === "light" ? "black" : "white" }, }, - title: { text: "null" }, + title: { text: null }, opposite: true, }, tooltip: { diff --git a/src/routes/ipos/statistics/+page.svelte b/src/routes/ipos/statistics/+page.svelte index 8af96655..9623245c 100644 --- a/src/routes/ipos/statistics/+page.svelte +++ b/src/routes/ipos/statistics/+page.svelte @@ -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 @@ > {#each yearList as year} - - - + {/each}