ui fix
This commit is contained in:
parent
f691a89d62
commit
4a688ee38a
@ -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%',
|
||||
|
||||
@ -34,7 +34,7 @@ const plotBarChart = () => {
|
||||
bottom: '0%',
|
||||
containLabel: true,
|
||||
},
|
||||
animation: $screenWidth < 640 ? false: true,
|
||||
animation: false,
|
||||
silent: true,
|
||||
xAxis: {
|
||||
type: 'value',
|
||||
|
||||
@ -99,7 +99,7 @@ function getPlotOptions() {
|
||||
},
|
||||
},
|
||||
},
|
||||
animation: $screenWidth < 640 ? false: true,
|
||||
animation: false,
|
||||
grid: {
|
||||
left: '2%',
|
||||
right: '2%',
|
||||
|
||||
@ -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%',
|
||||
|
||||
@ -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%',
|
||||
|
||||
@ -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%',
|
||||
|
||||
@ -68,7 +68,7 @@ function getPlotOptions() {
|
||||
|
||||
const option = {
|
||||
silent: true,
|
||||
animation: $screenWidth < 640 ? false: true,
|
||||
animation: false,
|
||||
grid: {
|
||||
left: '2%',
|
||||
right: '2%',
|
||||
|
||||
@ -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%',
|
||||
|
||||
@ -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%',
|
||||
|
||||
@ -92,7 +92,7 @@ function getPlotOptions() {
|
||||
|
||||
const option = {
|
||||
silent: true,
|
||||
animation: $screenWidth < 640 ? false: true,
|
||||
animation: false,
|
||||
grid: {
|
||||
left: '0%',
|
||||
right: '0%',
|
||||
|
||||
@ -41,7 +41,7 @@ const plotPieChart = () => {
|
||||
|
||||
|
||||
const options = {
|
||||
animation: $screenWidth < 640 ? false: true,
|
||||
animation: false,
|
||||
grid: {
|
||||
left: '0%',
|
||||
right: '0%',
|
||||
|
||||
@ -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%',
|
||||
|
||||
@ -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 @@ $: {
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<!--
|
||||
<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"/>
|
||||
</div>
|
||||
-->
|
||||
|
||||
|
||||
{:else}
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user