diff --git a/src/components/charts/lines/index.js b/src/components/charts/lines/index.js index 70ed686..1192196 100644 --- a/src/components/charts/lines/index.js +++ b/src/components/charts/lines/index.js @@ -113,7 +113,11 @@ export default { trigger: "item", }, legend: { - show: false + textStyle: { + color: 'rgb(185,211,235)' // 将图例文字颜色设置为红色 + }, + right: '5%' + // show: false }, color: { color: new echarts.graphic.LinearGradient(0, 1, 0, 0, [ @@ -132,7 +136,7 @@ export default { type: "category", boundaryGap: false, axisLabel: { - color: 'rgba(185, 211, 235, 1)', + color: 'rgb(185,211,235)', }, axisLine: { show: false @@ -151,7 +155,7 @@ export default { type: "value", name: "单位:万元", nameTextStyle: { - color: 'rgba(185, 211, 235, 1)' + color: 'rgb(185,211,235)' }, axisLabel: { formatter: "{value}",