|
|
|
|
@ -159,9 +159,8 @@ const HistoryTrend = () => {
|
|
|
|
|
},
|
|
|
|
|
legend: {
|
|
|
|
|
data: ['液位 (%)'],
|
|
|
|
|
right: 20,
|
|
|
|
|
left: 'center',
|
|
|
|
|
top: 10,
|
|
|
|
|
icon: 'circle',
|
|
|
|
|
textStyle: { color: '#4e5856' },
|
|
|
|
|
},
|
|
|
|
|
grid: { left: 40, right: 20, top: 50, bottom: 30 },
|
|
|
|
|
@ -184,11 +183,11 @@ const HistoryTrend = () => {
|
|
|
|
|
{
|
|
|
|
|
name: '液位 (%)',
|
|
|
|
|
type: 'line',
|
|
|
|
|
smooth: true,
|
|
|
|
|
symbol: 'circle',
|
|
|
|
|
symbolSize: 8,
|
|
|
|
|
lineStyle: { width: 3 },
|
|
|
|
|
itemStyle: { color: '#2d9e9d' },
|
|
|
|
|
symbolSize: 6,
|
|
|
|
|
lineStyle: { width: 1 },
|
|
|
|
|
itemStyle: { color: "#fff", borderColor: '#2d9e9d', borderWidth: 1 },
|
|
|
|
|
lineStyle: { color: '#2d9e9d' },
|
|
|
|
|
areaStyle: { color: areaGradient },
|
|
|
|
|
data: liquidLevelSeries,
|
|
|
|
|
},
|
|
|
|
|
@ -207,10 +206,12 @@ const HistoryTrend = () => {
|
|
|
|
|
axisPointer: { type: 'cross', link: [{ xAxisIndex: 'all' }] },
|
|
|
|
|
},
|
|
|
|
|
legend: {
|
|
|
|
|
data: ['温度 (℃)', '压力 (MPa)'],
|
|
|
|
|
right: 20,
|
|
|
|
|
data: [
|
|
|
|
|
'温度 (℃)',
|
|
|
|
|
'压力 (MPa)',
|
|
|
|
|
],
|
|
|
|
|
left: 'center',
|
|
|
|
|
top: 10,
|
|
|
|
|
icon: 'circle',
|
|
|
|
|
textStyle: { color: '#4e5856' },
|
|
|
|
|
},
|
|
|
|
|
grid: { left: 50, right: 50, top: 50, bottom: 30 },
|
|
|
|
|
@ -249,21 +250,21 @@ const HistoryTrend = () => {
|
|
|
|
|
{
|
|
|
|
|
name: '温度 (℃)',
|
|
|
|
|
type: 'line',
|
|
|
|
|
smooth: true,
|
|
|
|
|
// smooth: true,
|
|
|
|
|
symbol: 'circle',
|
|
|
|
|
symbolSize: 7,
|
|
|
|
|
lineStyle: { width: 3, color: '#2a7b8d' },
|
|
|
|
|
itemStyle: { color: '#2a7b8d' },
|
|
|
|
|
symbolSize: 6,
|
|
|
|
|
itemStyle: { color: '#fff', borderColor: "#2a7b8d", borderWidth: 1 },
|
|
|
|
|
lineStyle: { width: 2, color: '#2a7b8d' },
|
|
|
|
|
data: temperatureSeries,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: '压力 (MPa)',
|
|
|
|
|
type: 'line',
|
|
|
|
|
smooth: true,
|
|
|
|
|
symbol: 'diamond',
|
|
|
|
|
symbolSize: 7,
|
|
|
|
|
lineStyle: { width: 3, color: '#c2b453' },
|
|
|
|
|
itemStyle: { color: '#c2b453' },
|
|
|
|
|
// smooth: true,
|
|
|
|
|
symbol: 'circle',
|
|
|
|
|
symbolSize: 6,
|
|
|
|
|
lineStyle: { width: 2, color: '#c2b453' },
|
|
|
|
|
itemStyle: { color: '#fff', borderColor: "#c2b453", borderWidth: 1 },
|
|
|
|
|
yAxisIndex: 1,
|
|
|
|
|
data: pressureSeries,
|
|
|
|
|
},
|
|
|
|
|
|