热量流量字段调整
This commit is contained in:
parent
df2a52fe27
commit
489bd6a471
|
|
@ -672,20 +672,20 @@ function updateChartCounty() {
|
|||
},
|
||||
series: [
|
||||
// 背景条
|
||||
{
|
||||
type: 'bar',
|
||||
barWidth: 5,
|
||||
data: names.map(() => maxVal),
|
||||
barGap: '-100%',
|
||||
itemStyle: {
|
||||
color: {
|
||||
type: 'linear',
|
||||
x: 0, y: 0, x2: 1, y2: 0,
|
||||
colorStops: [{ offset: 0, color: 'rgba(106,211,255,0.06)' }, { offset: 1, color: 'rgba(106,211,255,0.01)' }]
|
||||
}
|
||||
},
|
||||
z: 1,
|
||||
silent: true
|
||||
{
|
||||
type: 'bar',
|
||||
barWidth: 5,
|
||||
data: names.map(() => maxVal),
|
||||
barGap: '-100%',
|
||||
itemStyle: {
|
||||
color: {
|
||||
type: 'linear',
|
||||
x: 0, y: 0, x2: 1, y2: 0,
|
||||
colorStops: [{ offset: 0, color: 'rgba(106,211,255,0.06)' }, { offset: 1, color: 'rgba(106,211,255,0.01)' }]
|
||||
}
|
||||
},
|
||||
z: 1,
|
||||
silent: true
|
||||
},
|
||||
|
||||
// 第一个主体条(供水温度)- 左侧柱子
|
||||
|
|
@ -930,7 +930,7 @@ function updateChartArea8() {
|
|||
if (!chartArea8) return;
|
||||
|
||||
const names = countyList.value.map(i => i.raw?.view028.replace('锅炉房', '') ?? '未知');
|
||||
const supplyData = countyList.value.map(i => i.raw?.fromFlow == 1 ? Number(i.raw.view038) : Number(i.raw.view038));
|
||||
const supplyData = countyList.value.map(i => i.raw?.fromFlow == 1 ? Number(i.raw.view040) : Number(i.raw.view040));
|
||||
|
||||
|
||||
chartArea8.setOption({
|
||||
|
|
@ -971,7 +971,7 @@ function updateChartArea8() {
|
|||
},
|
||||
yAxis: {
|
||||
type: 'value',
|
||||
name: 'm³/h',
|
||||
name: 'm³',
|
||||
nameLocation: 'end',
|
||||
nameTextStyle: {
|
||||
color: '#ffffff',
|
||||
|
|
@ -1061,7 +1061,7 @@ function updateChartArea82() {
|
|||
if (!chartArea8) return;
|
||||
|
||||
const names = countyAddList.value.map(i => i.raw?.view028.replace('锅炉房', '') ?? '未知');
|
||||
const returnData = countyAddList.value.map(i => i.raw?.fromFlow == 1 ? Number(i.raw.view042) : Number(i.raw.view042));
|
||||
const returnData = countyAddList.value.map(i => i.raw?.fromFlow == 1 ? Number(i.raw.view044) : Number(i.raw.view044));
|
||||
|
||||
|
||||
chartArea8.setOption({
|
||||
|
|
|
|||
Loading…
Reference in New Issue