ui fix
This commit is contained in:
parent
f691a89d62
commit
4a688ee38a
@ -90,7 +90,7 @@ function findLowestAndHighestFee(data, lastDateStr) {
|
|||||||
trigger: 'axis',
|
trigger: 'axis',
|
||||||
hideDelay: 100, // Set the delay in milliseconds
|
hideDelay: 100, // Set the delay in milliseconds
|
||||||
},
|
},
|
||||||
animation: $screenWidth < 640 ? false: true,
|
animation: false,
|
||||||
grid: {
|
grid: {
|
||||||
left: '2%',
|
left: '2%',
|
||||||
right: '2%',
|
right: '2%',
|
||||||
|
|||||||
@ -34,7 +34,7 @@ const plotBarChart = () => {
|
|||||||
bottom: '0%',
|
bottom: '0%',
|
||||||
containLabel: true,
|
containLabel: true,
|
||||||
},
|
},
|
||||||
animation: $screenWidth < 640 ? false: true,
|
animation: false,
|
||||||
silent: true,
|
silent: true,
|
||||||
xAxis: {
|
xAxis: {
|
||||||
type: 'value',
|
type: 'value',
|
||||||
|
|||||||
@ -99,7 +99,7 @@ function getPlotOptions() {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
animation: $screenWidth < 640 ? false: true,
|
animation: false,
|
||||||
grid: {
|
grid: {
|
||||||
left: '2%',
|
left: '2%',
|
||||||
right: '2%',
|
right: '2%',
|
||||||
|
|||||||
@ -54,7 +54,7 @@ function getPlotOptions() {
|
|||||||
|
|
||||||
const option = {
|
const option = {
|
||||||
silent: true,
|
silent: true,
|
||||||
animation: $screenWidth < 640 ? false: true,
|
animation: false,
|
||||||
grid: {
|
grid: {
|
||||||
left: $screenWidth < 640 ? '0%' : '2%',
|
left: $screenWidth < 640 ? '0%' : '2%',
|
||||||
right: $screenWidth < 640 ? '2%' : '2%',
|
right: $screenWidth < 640 ? '2%' : '2%',
|
||||||
|
|||||||
@ -86,7 +86,7 @@ function findLowestAndHighestPrice(data, lastDateStr) {
|
|||||||
trigger: 'axis',
|
trigger: 'axis',
|
||||||
hideDelay: 100, // Set the delay in milliseconds
|
hideDelay: 100, // Set the delay in milliseconds
|
||||||
},
|
},
|
||||||
animation: $screenWidth < 640 ? false: true,
|
animation: false,
|
||||||
grid: {
|
grid: {
|
||||||
left: '2%',
|
left: '2%',
|
||||||
right: '2%',
|
right: '2%',
|
||||||
|
|||||||
@ -74,7 +74,7 @@
|
|||||||
trigger: 'axis',
|
trigger: 'axis',
|
||||||
hideDelay: 100, // Set the delay in milliseconds
|
hideDelay: 100, // Set the delay in milliseconds
|
||||||
},
|
},
|
||||||
animation: $screenWidth < 640 ? false: true,
|
animation: false,
|
||||||
grid: {
|
grid: {
|
||||||
left:'2%',
|
left:'2%',
|
||||||
right: $screenWidth < 640 ? '0%' : '2%',
|
right: $screenWidth < 640 ? '0%' : '2%',
|
||||||
|
|||||||
@ -68,7 +68,7 @@ function getPlotOptions() {
|
|||||||
|
|
||||||
const option = {
|
const option = {
|
||||||
silent: true,
|
silent: true,
|
||||||
animation: $screenWidth < 640 ? false: true,
|
animation: false,
|
||||||
grid: {
|
grid: {
|
||||||
left: '2%',
|
left: '2%',
|
||||||
right: '2%',
|
right: '2%',
|
||||||
|
|||||||
@ -59,7 +59,7 @@
|
|||||||
trigger: 'axis',
|
trigger: 'axis',
|
||||||
hideDelay: 100, // Set the delay in milliseconds
|
hideDelay: 100, // Set the delay in milliseconds
|
||||||
},
|
},
|
||||||
animation: $screenWidth < 640 ? false: true,
|
animation: false,
|
||||||
grid: {
|
grid: {
|
||||||
left: '1%',
|
left: '1%',
|
||||||
right: $screenWidth < 640 ? '2%' : '0%',
|
right: $screenWidth < 640 ? '2%' : '0%',
|
||||||
|
|||||||
@ -44,7 +44,7 @@ function getPlotOptions() {
|
|||||||
|
|
||||||
const option = {
|
const option = {
|
||||||
silent: true,
|
silent: true,
|
||||||
animation: $screenWidth < 640 ? false: true,
|
animation: false,
|
||||||
grid: {
|
grid: {
|
||||||
left: $screenWidth < 640 ? '0%' : '2%',
|
left: $screenWidth < 640 ? '0%' : '2%',
|
||||||
right: $screenWidth < 640 ? '5%' : '2%',
|
right: $screenWidth < 640 ? '5%' : '2%',
|
||||||
|
|||||||
@ -92,7 +92,7 @@ function getPlotOptions() {
|
|||||||
|
|
||||||
const option = {
|
const option = {
|
||||||
silent: true,
|
silent: true,
|
||||||
animation: $screenWidth < 640 ? false: true,
|
animation: false,
|
||||||
grid: {
|
grid: {
|
||||||
left: '0%',
|
left: '0%',
|
||||||
right: '0%',
|
right: '0%',
|
||||||
|
|||||||
@ -41,7 +41,7 @@ const plotPieChart = () => {
|
|||||||
|
|
||||||
|
|
||||||
const options = {
|
const options = {
|
||||||
animation: $screenWidth < 640 ? false: true,
|
animation: false,
|
||||||
grid: {
|
grid: {
|
||||||
left: '0%',
|
left: '0%',
|
||||||
right: '0%',
|
right: '0%',
|
||||||
|
|||||||
@ -50,7 +50,7 @@ function getPlotOptions() {
|
|||||||
|
|
||||||
const option = {
|
const option = {
|
||||||
silent: true,
|
silent: true,
|
||||||
animation: $screenWidth < 640 ? false: true,
|
animation: false,
|
||||||
grid: {
|
grid: {
|
||||||
left: $screenWidth < 640 ? '1%' : '2%',
|
left: $screenWidth < 640 ? '1%' : '2%',
|
||||||
right: $screenWidth < 640 ? '0%' : '2%',
|
right: $screenWidth < 640 ? '0%' : '2%',
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
import { goto } from '$app/navigation';
|
import { goto } from '$app/navigation';
|
||||||
import { screenWidth, numberOfUnreadNotification, etfTicker, stockTicker, isOpen } from '$lib/store';
|
import { screenWidth, numberOfUnreadNotification, etfTicker, stockTicker, isOpen } from '$lib/store';
|
||||||
import notifySound from '$lib/audio/options-flow-reader.mp3';
|
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 { abbreviateNumber } from '$lib/utils';
|
||||||
import { onMount, onDestroy } from 'svelte';
|
import { onMount, onDestroy } from 'svelte';
|
||||||
import toast from 'svelte-french-toast';
|
import toast from 'svelte-french-toast';
|
||||||
@ -895,10 +895,11 @@ $: {
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<!--
|
||||||
<div class="relative bottom-[400px] w-fit m-auto flex justify-center items-center">
|
<div class="relative bottom-[400px] w-fit m-auto flex justify-center items-center">
|
||||||
<UpgradeToPro data={data} title="Get the recent Options Flow Data from Hedge Funds and major institutional traders to never miss out"/>
|
<UpgradeToPro data={data} title="Get the recent Options Flow Data from Hedge Funds and major institutional traders to never miss out"/>
|
||||||
</div>
|
</div>
|
||||||
|
-->
|
||||||
|
|
||||||
|
|
||||||
{:else}
|
{:else}
|
||||||
|
|||||||
@ -85,7 +85,7 @@ function getPlotOptions() {
|
|||||||
|
|
||||||
const optionPost = {
|
const optionPost = {
|
||||||
silent: true,
|
silent: true,
|
||||||
animation: $screenWidth < 640 ? false: true,
|
animation: false,
|
||||||
tooltip: {
|
tooltip: {
|
||||||
trigger: 'axis',
|
trigger: 'axis',
|
||||||
hideDelay: 100, // Set the delay in milliseconds
|
hideDelay: 100, // Set the delay in milliseconds
|
||||||
@ -144,7 +144,7 @@ function getPlotOptions() {
|
|||||||
|
|
||||||
const optionComment = {
|
const optionComment = {
|
||||||
silent: true,
|
silent: true,
|
||||||
animation: $screenWidth < 640 ? false: true,
|
animation: false,
|
||||||
tooltip: {
|
tooltip: {
|
||||||
trigger: 'axis',
|
trigger: 'axis',
|
||||||
hideDelay: 100, // Set the delay in milliseconds
|
hideDelay: 100, // Set the delay in milliseconds
|
||||||
@ -203,7 +203,7 @@ const optionComment = {
|
|||||||
|
|
||||||
const optionCompanySpread = {
|
const optionCompanySpread = {
|
||||||
silent: true,
|
silent: true,
|
||||||
animation: $screenWidth < 640 ? false: true,
|
animation: false,
|
||||||
tooltip: {
|
tooltip: {
|
||||||
trigger: 'axis',
|
trigger: 'axis',
|
||||||
hideDelay: 100, // Set the delay in milliseconds
|
hideDelay: 100, // Set the delay in milliseconds
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user