ui fix
This commit is contained in:
parent
71447048df
commit
36ab30379b
@ -129,7 +129,7 @@
|
|||||||
labels: {
|
labels: {
|
||||||
style: { color: $mode === "light" ? "black" : "white" },
|
style: { color: $mode === "light" ? "black" : "white" },
|
||||||
},
|
},
|
||||||
title: { text: "null" },
|
title: { text: null },
|
||||||
opposite: true,
|
opposite: true,
|
||||||
},
|
},
|
||||||
tooltip: {
|
tooltip: {
|
||||||
|
|||||||
@ -3,7 +3,6 @@
|
|||||||
import highcharts from "$lib/highcharts.ts";
|
import highcharts from "$lib/highcharts.ts";
|
||||||
import { mode } from "mode-watcher";
|
import { mode } from "mode-watcher";
|
||||||
import IPOChart from "$lib/components/IPOChart.svelte";
|
import IPOChart from "$lib/components/IPOChart.svelte";
|
||||||
import Lazy from "svelte-lazy";
|
|
||||||
|
|
||||||
export let data;
|
export let data;
|
||||||
|
|
||||||
@ -11,7 +10,7 @@
|
|||||||
|
|
||||||
let config = null;
|
let config = null;
|
||||||
|
|
||||||
const startYear = 2015;
|
const startYear = 2019;
|
||||||
const currentYear = new Date().getFullYear();
|
const currentYear = new Date().getFullYear();
|
||||||
const yearList = Array.from(
|
const yearList = Array.from(
|
||||||
{ length: currentYear - startYear + 1 },
|
{ length: currentYear - startYear + 1 },
|
||||||
@ -204,9 +203,7 @@
|
|||||||
></div>
|
></div>
|
||||||
|
|
||||||
{#each yearList as year}
|
{#each yearList as year}
|
||||||
<Lazy fadeOption={{ delay: 50, duration: 50 }} keep={true}>
|
|
||||||
<IPOChart {data} {year} />
|
<IPOChart {data} {year} />
|
||||||
</Lazy>
|
|
||||||
{/each}
|
{/each}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user