修改bug

This commit is contained in:
GGJ
2024-09-14 10:32:01 +08:00
parent e4997e4b63
commit 5650fc371e
3 changed files with 42 additions and 47 deletions

View File

@@ -285,15 +285,15 @@ const init = () => {
left: '3%',
right: '5%'
},
tooltip: {
trigger: 'axis',
axisPointer: {
type: 'cross',
label: {
show: false
}
}
},
// tooltip: {
// trigger: 'axis',
// axisPointer: {
// type: 'cross',
// label: {
// show: false
// }
// }
// },
legend: {
data: [],
itemGap: 15,
@@ -359,7 +359,7 @@ const init = () => {
list.push({ phase: item.phase, title: item.title, list: item.phaseList })
}
})
const colorList = ['#00CC99', '#FF9900', '#1DD0CE', 'cadetblue']
const colorList = ['#0e8780', '#FFCC00', '#009900', '#CC0000', ]
list.map((item: any, index: any) => {
echartsData.value.options.legend.data.push(item.title)
echartsData.value.options.series.push({