diff --git a/src/lib/components/AnalystEstimate.svelte b/src/lib/components/AnalystEstimate.svelte index 8ddadceb..ac0b7cef 100644 --- a/src/lib/components/AnalystEstimate.svelte +++ b/src/lib/components/AnalystEstimate.svelte @@ -297,7 +297,7 @@ YearFiscal Year {#each xData as item} - + Revenue {#each tableForecastRevenue as item} {item?.val === "0.00" || item?.val === null || @@ -335,7 +335,7 @@ {#each tableActualRevenue as item, index} {#if index === 0 || tableActualRevenue?.length === 0} - @@ -386,15 +386,15 @@ {/each} - + EPS {#each tableForecastEPS as item} {item?.val === "0.00" || item?.val === null || @@ -413,7 +413,7 @@ {#each tableActualEPS as item, index} {#if index === 0 || tableActualEPS?.length === 0} - @@ -479,14 +479,14 @@ --> - + No. Analysts {#each tableForecastRevenue as item} {item?.numOfAnalysts === (null || 0) ? "-" @@ -534,16 +534,19 @@
- +
+ > {#each revenueDateList as date} - + {/each} @@ -553,21 +556,27 @@ >High {#each highRevenueList as val} - + {/each} {#each avgRevenueList as val} - + {/each} {#each lowRevenueList as val} - + {/each} @@ -588,14 +597,17 @@ class="mt-3 overflow-x-auto p-0 text-center sm:p-0.5 lg:mt-3.5" data-test="forecast-estimate-table" > -
Revenue
Revenue{date}{date}
{abbreviateNumber(val)}{abbreviateNumber(val)}
Avg{abbreviateNumber(val)}{abbreviateNumber(val)}
Low{abbreviateNumber(val)}{abbreviateNumber(val)}
+
+ > {#each epsDateList as date} - + {/each} @@ -605,21 +617,27 @@ >High {#each highEPSList as val} - + {/each} {#each avgEPSList as val} - + {/each} {#each lowEPSList as val} - + {/each} diff --git a/src/routes/stocks/[tickerID]/forecast/+page.svelte b/src/routes/stocks/[tickerID]/forecast/+page.svelte index b787840d..2beaf001 100644 --- a/src/routes/stocks/[tickerID]/forecast/+page.svelte +++ b/src/routes/stocks/[tickerID]/forecast/+page.svelte @@ -370,6 +370,7 @@ yAxis: { type: "value", axisLabel: { + color: "#fff", formatter: (value) => `$${value.toFixed(0)}`, }, @@ -579,7 +580,7 @@
{#each recommendationList as item} - {#each categories as category} - {#each recommendationList as entry} - {/each} {/each} - {#each recommendationList as _, i} - {/each} @@ -661,7 +668,7 @@ -

+

Financial Forecast this Year

{#if data?.getAnalystEstimate?.length !== 0}
EPSEPS{date}{date}
{abbreviateNumber(val)}{abbreviateNumber(val)}
Avg{abbreviateNumber(val)}{abbreviateNumber(val)}
Low{abbreviateNumber(val)}{abbreviateNumber(val)}
Rating{new Intl.DateTimeFormat("en", { month: "short", year: "2-digit", @@ -635,22 +637,27 @@
{category}{entry[category]}
Total + {getTotalForDate(i)}