调整积分排名的样式
This commit is contained in:
@@ -61,7 +61,7 @@ const integralOrder = {
|
||||
yAxis: {
|
||||
type: "category", inverse: true, axisLine: hide, axisTick: hide, axisPointer: hide,
|
||||
axisLabel: {
|
||||
showMaxLabel: true, align: 'left', margin:60,
|
||||
showMaxLabel: true, align: 'left', margin:65,
|
||||
color: "#9CB3C9", formatter: (name, index) => {
|
||||
const icon = {
|
||||
0: "🥇", 1: "🥈", 2: "🥉",
|
||||
@@ -80,7 +80,7 @@ const integralOrder = {
|
||||
}
|
||||
},
|
||||
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,
|
||||
tooltip: {trigger: 'axis', backgroundColor: "#33333388", textStyle: {color: '#fff'}}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user