调整积分排名的样式
This commit is contained in:
@@ -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'}}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user