调整积分排名的样式
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:65,
|
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: "🥉",
|
||||||
@@ -585,6 +585,9 @@ export default {
|
|||||||
},
|
},
|
||||||
areaId() {
|
areaId() {
|
||||||
this.getData()
|
this.getData()
|
||||||
|
},
|
||||||
|
isLastAreaLevel(v) {
|
||||||
|
this.chart.integralOrder.series.label.position[0] = v ? 760 : 390
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|||||||
Reference in New Issue
Block a user