调整积分排名的样式

This commit is contained in:
aixianling
2024-09-29 14:41:14 +08:00
parent 2cbddaeb4a
commit 3a5af5777c

View File

@@ -61,7 +61,7 @@ const integralOrder = {
yAxis: { yAxis: {
type: "category", inverse: true, axisLine: hide, axisTick: hide, axisPointer: hide, type: "category", inverse: true, axisLine: hide, axisTick: hide, axisPointer: hide,
axisLabel: { axisLabel: {
showMaxLabel: true, align: 'left', margin:60, showMaxLabel: true, align: 'left', margin:65,
color: "#9CB3C9", formatter: (name, index) => { color: "#9CB3C9", formatter: (name, index) => {
const icon = { const icon = {
0: "🥇", 1: "🥈", 2: "🥉", 0: "🥇", 1: "🥈", 2: "🥉",
@@ -80,7 +80,7 @@ const integralOrder = {
} }
}, },
xAxis: hide, xAxis: hide,
grid: {left: -40, right: 40, top: 0, bottom: 0, containLabel: true}, grid: {left: -45, right: 40, top: 0, bottom: 0, containLabel: true},
legend: hide, legend: hide,
tooltip: {trigger: 'axis', backgroundColor: "#33333388", textStyle: {color: '#fff'}} tooltip: {trigger: 'axis', backgroundColor: "#33333388", textStyle: {color: '#fff'}}
} }