修改bug
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user