From ea09cd93cc5d4a889e471cc9563ce3afd95500ee Mon Sep 17 00:00:00 2001 From: MuslemRahimi Date: Thu, 27 Feb 2025 17:09:24 +0100 Subject: [PATCH] ui fixes --- src/lib/components/FinancialChart.svelte | 2 +- src/routes/stocks/[tickerID]/financials/+page.svelte | 2 +- .../stocks/[tickerID]/financials/balance-sheet/+page.svelte | 2 +- src/routes/stocks/[tickerID]/financials/cash-flow/+page.svelte | 2 +- src/routes/stocks/[tickerID]/financials/ratios/+page.svelte | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/lib/components/FinancialChart.svelte b/src/lib/components/FinancialChart.svelte index 75313754..69bea63b 100644 --- a/src/lib/components/FinancialChart.svelte +++ b/src/lib/components/FinancialChart.svelte @@ -92,7 +92,7 @@ let tooltipContent = `${this?.x}
`; this.points.forEach((point) => { tooltipContent += `${point.series.name}: - ${abbreviateNumber( + ${abbreviateNumber( point.y, )}
`; }); diff --git a/src/routes/stocks/[tickerID]/financials/+page.svelte b/src/routes/stocks/[tickerID]/financials/+page.svelte index e223dd9d..bb149a89 100644 --- a/src/routes/stocks/[tickerID]/financials/+page.svelte +++ b/src/routes/stocks/[tickerID]/financials/+page.svelte @@ -502,7 +502,7 @@ displayStatement={item?.key} {filterRule} {processedData} - color={["#e5009d", "#9203e8", "#ff0831", "#6100ff"][ + color={["#e5009d", "#9203e8", "#ff0831", "#07c8f9"][ i % 4 ]} /> diff --git a/src/routes/stocks/[tickerID]/financials/balance-sheet/+page.svelte b/src/routes/stocks/[tickerID]/financials/balance-sheet/+page.svelte index 83de4406..39063595 100644 --- a/src/routes/stocks/[tickerID]/financials/balance-sheet/+page.svelte +++ b/src/routes/stocks/[tickerID]/financials/balance-sheet/+page.svelte @@ -537,7 +537,7 @@ displayStatement={item?.key} {filterRule} {processedData} - color={["#e5009d", "#9203e8", "#ff0831", "#6100ff"][ + color={["#e5009d", "#9203e8", "#ff0831", "#07c8f9"][ i % 4 ]} /> diff --git a/src/routes/stocks/[tickerID]/financials/cash-flow/+page.svelte b/src/routes/stocks/[tickerID]/financials/cash-flow/+page.svelte index c23815a3..5b10bf7b 100644 --- a/src/routes/stocks/[tickerID]/financials/cash-flow/+page.svelte +++ b/src/routes/stocks/[tickerID]/financials/cash-flow/+page.svelte @@ -499,7 +499,7 @@ displayStatement={item?.key} {filterRule} {processedData} - color={["#e5009d", "#9203e8", "#ff0831", "#6100ff"][ + color={["#e5009d", "#9203e8", "#ff0831", "#07c8f9"][ i % 4 ]} /> diff --git a/src/routes/stocks/[tickerID]/financials/ratios/+page.svelte b/src/routes/stocks/[tickerID]/financials/ratios/+page.svelte index 7ced417b..a02bfcd7 100644 --- a/src/routes/stocks/[tickerID]/financials/ratios/+page.svelte +++ b/src/routes/stocks/[tickerID]/financials/ratios/+page.svelte @@ -488,7 +488,7 @@ displayStatement={item?.key} {filterRule} {processedData} - color={["#e5009d", "#9203e8", "#ff0831", "#6100ff"][ + color={["#e5009d", "#9203e8", "#ff0831", "#07c8f9"][ i % 4 ]} />