update cramer page graph
This commit is contained in:
parent
82c384737b
commit
0039faec8a
@ -140,9 +140,6 @@ rawData?.forEach(item => {
|
|||||||
opacity: 1,
|
opacity: 1,
|
||||||
color: '#3B82F6'
|
color: '#3B82F6'
|
||||||
},
|
},
|
||||||
emphasis: {
|
|
||||||
focus: 'series'
|
|
||||||
},
|
|
||||||
data: cumulativeList
|
data: cumulativeList
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
@ -160,10 +157,10 @@ rawData?.forEach(item => {
|
|||||||
radius: '90%',
|
radius: '90%',
|
||||||
min: 0,
|
min: 0,
|
||||||
max: 1,
|
max: 1,
|
||||||
splitNumber: 8,
|
splitNumber: 3,
|
||||||
axisLine: {
|
axisLine: {
|
||||||
lineStyle: {
|
lineStyle: {
|
||||||
width: 6,
|
width: 15,
|
||||||
color: [
|
color: [
|
||||||
[0.3, '#F71F4F'],
|
[0.3, '#F71F4F'],
|
||||||
[0.7, '#FFA838'],
|
[0.7, '#FFA838'],
|
||||||
@ -173,7 +170,7 @@ rawData?.forEach(item => {
|
|||||||
},
|
},
|
||||||
pointer: {
|
pointer: {
|
||||||
icon: 'path://M12.8,0.7l12,40.1H0.7L12.8,0.7z',
|
icon: 'path://M12.8,0.7l12,40.1H0.7L12.8,0.7z',
|
||||||
length: '12%',
|
length: '15%',
|
||||||
width: 10,
|
width: 10,
|
||||||
offsetCenter: [0, '-60%'],
|
offsetCenter: [0, '-60%'],
|
||||||
itemStyle: {
|
itemStyle: {
|
||||||
@ -181,18 +178,10 @@ rawData?.forEach(item => {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
axisTick: {
|
axisTick: {
|
||||||
length: 4,
|
length: 0,
|
||||||
lineStyle: {
|
|
||||||
color: 'auto',
|
|
||||||
width: 1
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
splitLine: {
|
splitLine: {
|
||||||
length: 20,
|
length: 0,
|
||||||
lineStyle: {
|
|
||||||
color: 'auto',
|
|
||||||
width: 2
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
axisLabel: {
|
axisLabel: {
|
||||||
formatter: function (value) {
|
formatter: function (value) {
|
||||||
@ -349,13 +338,13 @@ rawData?.forEach(item => {
|
|||||||
</Card.Header>
|
</Card.Header>
|
||||||
<Card.Content class="w-full h-fit">
|
<Card.Content class="w-full h-fit">
|
||||||
<Lazy>
|
<Lazy>
|
||||||
<div class="w-full h-[250px] -mt-10">
|
<div class="w-full h-[150px] ">
|
||||||
<Chart {init} options={optionGraphReturn} class="chart" />
|
<Chart {init} options={optionGraphReturn} class="chart" />
|
||||||
</div>
|
</div>
|
||||||
</Lazy>
|
</Lazy>
|
||||||
</Card.Content>
|
</Card.Content>
|
||||||
</Card.Root>
|
</Card.Root>
|
||||||
<Card.Root class="bg-[#141417]">
|
<Card.Root class="bg-[#141417] ">
|
||||||
<Card.Header class="flex flex-col items-start space-y-0 pb-2">
|
<Card.Header class="flex flex-col items-start space-y-0 pb-2">
|
||||||
<Card.Title class="text-start text-xl sm:text-2xl font-semibold pb-2">Winrate</Card.Title>
|
<Card.Title class="text-start text-xl sm:text-2xl font-semibold pb-2">Winrate</Card.Title>
|
||||||
<Card.Description class="text-white text-sm pb-2">
|
<Card.Description class="text-white text-sm pb-2">
|
||||||
@ -363,9 +352,9 @@ rawData?.forEach(item => {
|
|||||||
Time to consider the "Inverse Cramer" strategy?
|
Time to consider the "Inverse Cramer" strategy?
|
||||||
</Card.Description>
|
</Card.Description>
|
||||||
</Card.Header>
|
</Card.Header>
|
||||||
<Card.Content class="w-full h-[250px] ">
|
<Card.Content class="w-full h-fit relative">
|
||||||
<Lazy>
|
<Lazy>
|
||||||
<div class="w-full h-[250px] -mt-5">
|
<div class="w-full h-[250px] absolute right-0 -top-14">
|
||||||
<Chart {init} options={optionGraphWinrate} class="chart" />
|
<Chart {init} options={optionGraphWinrate} class="chart" />
|
||||||
</div>
|
</div>
|
||||||
</Lazy>
|
</Lazy>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user