|
|
|
|
@ -100,16 +100,21 @@ export default {
|
|
|
|
|
grid: {
|
|
|
|
|
top: 10,
|
|
|
|
|
left: "2%",
|
|
|
|
|
right: "5.4%",
|
|
|
|
|
right: "5.8%",
|
|
|
|
|
bottom: "3%",
|
|
|
|
|
containLabel: true,
|
|
|
|
|
},
|
|
|
|
|
xAxis: {
|
|
|
|
|
type: "value",
|
|
|
|
|
type: "log",
|
|
|
|
|
axisLine: {
|
|
|
|
|
lineStyle: {
|
|
|
|
|
color: '#5b7be8' // 设置x轴轴线颜色为红色
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
splitLine: {
|
|
|
|
|
show: true,
|
|
|
|
|
lineStyle: {
|
|
|
|
|
color: "#384b8f", // 设置 X 轴间隔线颜色为红色
|
|
|
|
|
color: "#5b7be8",
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
@ -133,6 +138,9 @@ export default {
|
|
|
|
|
position: 'insideRight',
|
|
|
|
|
color: "#fff",
|
|
|
|
|
fontWeight: "bold",
|
|
|
|
|
formatter: params => {
|
|
|
|
|
return params.data > 10000 ? `${params.data/10000}万`: params.data
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
itemStyle: {
|
|
|
|
|
color: (params) => {
|
|
|
|
|
@ -151,7 +159,7 @@ export default {
|
|
|
|
|
trigger: "axis",
|
|
|
|
|
axisPointer: {
|
|
|
|
|
lineStyle: {
|
|
|
|
|
color: "#384b8f",
|
|
|
|
|
color: "#6786f1",
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
|