diff --git a/src/lib/components/BorrowedShare.svelte b/src/lib/components/BorrowedShare.svelte index ada519cd..9da39e8d 100644 --- a/src/lib/components/BorrowedShare.svelte +++ b/src/lib/components/BorrowedShare.svelte @@ -90,7 +90,7 @@ function findLowestAndHighestFee(data, lastDateStr) { trigger: 'axis', hideDelay: 100, // Set the delay in milliseconds }, - animation: $screenWidth < 640 ? false: true, + animation: false, grid: { left: '2%', right: '2%', diff --git a/src/lib/components/DCF.svelte b/src/lib/components/DCF.svelte index 3a162e95..7300e9f8 100644 --- a/src/lib/components/DCF.svelte +++ b/src/lib/components/DCF.svelte @@ -34,7 +34,7 @@ const plotBarChart = () => { bottom: '0%', containLabel: true, }, - animation: $screenWidth < 640 ? false: true, + animation: false, silent: true, xAxis: { type: 'value', diff --git a/src/lib/components/DarkPool.svelte b/src/lib/components/DarkPool.svelte index ccb10dbf..d1a59ed2 100644 --- a/src/lib/components/DarkPool.svelte +++ b/src/lib/components/DarkPool.svelte @@ -99,7 +99,7 @@ function getPlotOptions() { }, }, }, - animation: $screenWidth < 640 ? false: true, + animation: false, grid: { left: '2%', right: '2%', diff --git a/src/lib/components/Enterprise.svelte b/src/lib/components/Enterprise.svelte index 057a19cd..a1b1f3cd 100644 --- a/src/lib/components/Enterprise.svelte +++ b/src/lib/components/Enterprise.svelte @@ -54,7 +54,7 @@ function getPlotOptions() { const option = { silent: true, - animation: $screenWidth < 640 ? false: true, + animation: false, grid: { left: $screenWidth < 640 ? '0%' : '2%', right: $screenWidth < 640 ? '2%' : '2%', diff --git a/src/lib/components/FailToDeliver.svelte b/src/lib/components/FailToDeliver.svelte index b52a1462..8f36a9e4 100644 --- a/src/lib/components/FailToDeliver.svelte +++ b/src/lib/components/FailToDeliver.svelte @@ -86,7 +86,7 @@ function findLowestAndHighestPrice(data, lastDateStr) { trigger: 'axis', hideDelay: 100, // Set the delay in milliseconds }, - animation: $screenWidth < 640 ? false: true, + animation: false, grid: { left: '2%', right: '2%', diff --git a/src/lib/components/GovernmentContract.svelte b/src/lib/components/GovernmentContract.svelte index 21959260..df768330 100644 --- a/src/lib/components/GovernmentContract.svelte +++ b/src/lib/components/GovernmentContract.svelte @@ -74,7 +74,7 @@ trigger: 'axis', hideDelay: 100, // Set the delay in milliseconds }, - animation: $screenWidth < 640 ? false: true, + animation: false, grid: { left:'2%', right: $screenWidth < 640 ? '0%' : '2%', diff --git a/src/lib/components/MarketMaker.svelte b/src/lib/components/MarketMaker.svelte index 3575efff..cd090d6c 100644 --- a/src/lib/components/MarketMaker.svelte +++ b/src/lib/components/MarketMaker.svelte @@ -68,7 +68,7 @@ function getPlotOptions() { const option = { silent: true, - animation: $screenWidth < 640 ? false: true, + animation: false, grid: { left: '2%', right: '2%', diff --git a/src/lib/components/OptionsNetFlow.svelte b/src/lib/components/OptionsNetFlow.svelte index b5add8d2..317a1294 100644 --- a/src/lib/components/OptionsNetFlow.svelte +++ b/src/lib/components/OptionsNetFlow.svelte @@ -59,7 +59,7 @@ trigger: 'axis', hideDelay: 100, // Set the delay in milliseconds }, - animation: $screenWidth < 640 ? false: true, + animation: false, grid: { left: '1%', right: $screenWidth < 640 ? '2%' : '0%', diff --git a/src/lib/components/PriceAnalysis.svelte b/src/lib/components/PriceAnalysis.svelte index f61adaf4..17311fc9 100644 --- a/src/lib/components/PriceAnalysis.svelte +++ b/src/lib/components/PriceAnalysis.svelte @@ -44,7 +44,7 @@ function getPlotOptions() { const option = { silent: true, - animation: $screenWidth < 640 ? false: true, + animation: false, grid: { left: $screenWidth < 640 ? '0%' : '2%', right: $screenWidth < 640 ? '5%' : '2%', diff --git a/src/lib/components/RetailVolume.svelte b/src/lib/components/RetailVolume.svelte index 5178a9f8..11fff9c5 100644 --- a/src/lib/components/RetailVolume.svelte +++ b/src/lib/components/RetailVolume.svelte @@ -92,7 +92,7 @@ function getPlotOptions() { const option = { silent: true, - animation: $screenWidth < 640 ? false: true, + animation: false, grid: { left: '0%', right: '0%', diff --git a/src/lib/components/ShareHolders.svelte b/src/lib/components/ShareHolders.svelte index bab8c2ff..6b38ca6e 100644 --- a/src/lib/components/ShareHolders.svelte +++ b/src/lib/components/ShareHolders.svelte @@ -41,7 +41,7 @@ const plotPieChart = () => { const options = { - animation: $screenWidth < 640 ? false: true, + animation: false, grid: { left: '0%', right: '0%', diff --git a/src/lib/components/ShareStatistics.svelte b/src/lib/components/ShareStatistics.svelte index 4a78608f..5c7b61ab 100644 --- a/src/lib/components/ShareStatistics.svelte +++ b/src/lib/components/ShareStatistics.svelte @@ -50,7 +50,7 @@ function getPlotOptions() { const option = { silent: true, - animation: $screenWidth < 640 ? false: true, + animation: false, grid: { left: $screenWidth < 640 ? '1%' : '2%', right: $screenWidth < 640 ? '0%' : '2%', diff --git a/src/routes/options-flow/+page.svelte b/src/routes/options-flow/+page.svelte index 0b166079..5f9e1fd3 100644 --- a/src/routes/options-flow/+page.svelte +++ b/src/routes/options-flow/+page.svelte @@ -2,7 +2,7 @@ import { goto } from '$app/navigation'; import { screenWidth, numberOfUnreadNotification, etfTicker, stockTicker, isOpen } from '$lib/store'; import notifySound from '$lib/audio/options-flow-reader.mp3'; - import UpgradeToPro from '$lib/components/UpgradeToPro.svelte'; + //import UpgradeToPro from '$lib/components/UpgradeToPro.svelte'; import { abbreviateNumber } from '$lib/utils'; import { onMount, onDestroy } from 'svelte'; import toast from 'svelte-french-toast'; @@ -895,10 +895,11 @@ $: { - + {:else} diff --git a/src/routes/reddit-tracker/+page.svelte b/src/routes/reddit-tracker/+page.svelte index a40b026c..3df3c25c 100644 --- a/src/routes/reddit-tracker/+page.svelte +++ b/src/routes/reddit-tracker/+page.svelte @@ -85,7 +85,7 @@ function getPlotOptions() { const optionPost = { silent: true, - animation: $screenWidth < 640 ? false: true, + animation: false, tooltip: { trigger: 'axis', hideDelay: 100, // Set the delay in milliseconds @@ -144,7 +144,7 @@ function getPlotOptions() { const optionComment = { silent: true, - animation: $screenWidth < 640 ? false: true, + animation: false, tooltip: { trigger: 'axis', hideDelay: 100, // Set the delay in milliseconds @@ -203,7 +203,7 @@ const optionComment = { const optionCompanySpread = { silent: true, - animation: $screenWidth < 640 ? false: true, + animation: false, tooltip: { trigger: 'axis', hideDelay: 100, // Set the delay in milliseconds