84454655 by zhangmeng

看版

1 parent e6a6dcf4
......@@ -1262,7 +1262,11 @@ const handelZhu4 = (listX, dataList, arr1, arr2) => {
type: 'bar',
barGap: 0,
emphasis: {
focus: 'series'
focus: 'series',
itemStyle: {
opacity: 1,
// color: 'rgba(65, 105, 225, 0.8)', // 保持颜色不变
}
},
// data: [30, 332, 301, 334, 390, 330, 320, 320, 332, 301, 334, 390],
// data: listHai,
......@@ -1285,7 +1289,11 @@ const handelZhu4 = (listX, dataList, arr1, arr2) => {
type: 'bar',
barGap: 0,
emphasis: {
focus: 'series'
focus: 'series',
itemStyle: {
opacity: 1,
// color: 'rgba(65, 105, 225, 0.8)', // 保持颜色不变
}
},
// data: [320, 332, 301, 334, 390, 330, 320, 320, 332, 301, 334, 390],
data: dataList,
......@@ -1324,7 +1332,9 @@ const handelZhu4 = (listX, dataList, arr1, arr2) => {
])
},
emphasis: {
focus: 'series'
focus: 'series',
label: false,
disabled: true,
},
data: arr1,
label: {
......@@ -1339,6 +1349,8 @@ const handelZhu4 = (listX, dataList, arr1, arr2) => {
},
fontSize: 12,
color: 'rgb(1, 191, 236)',
opacity: 1, // 关键:取消透明度
shadowBlur: 0 // 取消阴影
}
},
{
......@@ -1363,7 +1375,9 @@ const handelZhu4 = (listX, dataList, arr1, arr2) => {
])
},
emphasis: {
focus: 'series'
focus: 'series',
label: false,
disabled: true,
},
data: arr2,
label: {
......@@ -1378,6 +1392,8 @@ const handelZhu4 = (listX, dataList, arr1, arr2) => {
},
fontSize: 12,
color: 'rgba(21, 219, 203, 1)',
opacity: 1, // 关键:取消透明度
shadowBlur: 0 // 取消阴影
}
},
]
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!