需求变更整改
This commit is contained in:
@@ -431,7 +431,7 @@ const refreshTree = () => {
|
||||
const range = (start: any, end: any, step: any) => {
|
||||
return Array.from({ length: (end - start) / step + 1 }, (_, i) => start + i * step)
|
||||
}
|
||||
const colors = ['#FFCC00', '#009900', '#CC0000']
|
||||
const colors = ['#DAA520', '#2E8B57', '#A52a2a']
|
||||
const lineStyle = [{ type: 'solid', }, { type: 'dashed', }, { type: 'dotted', }]
|
||||
|
||||
const titleList: any = ref('')
|
||||
@@ -627,7 +627,7 @@ const init = (flag: boolean) => {
|
||||
return str
|
||||
}
|
||||
},
|
||||
// color: ['#FFCC00', '#009900', '#CC0000', ...color],
|
||||
// color: ['#DAA520', '#2E8B57', '#A52a2a', ...color],
|
||||
xAxis: {
|
||||
type: 'time',
|
||||
axisLabel: {
|
||||
@@ -714,7 +714,7 @@ const init = (flag: boolean) => {
|
||||
? kk[0].phase + '相' + kk[0].anotherName
|
||||
: kk[0].anotherName,
|
||||
type: 'line',
|
||||
color: colorName == 'A' ? '#FFCC00' : colorName == 'B' ? '#009900' : colorName == 'C' ? '#CC0000' : '',
|
||||
color: colorName == 'A' ? '#DAA520' : colorName == 'B' ? '#2E8B57' : colorName == 'C' ? '#A52a2a' : '',
|
||||
smooth: true,
|
||||
symbol: 'none',
|
||||
lineStyle: lineStyle[lineS],
|
||||
|
||||
Reference in New Issue
Block a user