|
|
@ -35,6 +35,7 @@ $(() => {
|
|
|
|
|
|
|
|
|
|
|
|
const temperature = (res, ids) => {
|
|
|
|
const temperature = (res, ids) => {
|
|
|
|
let mycharts = echarts.init(ids);
|
|
|
|
let mycharts = echarts.init(ids);
|
|
|
|
|
|
|
|
console.log(res);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let option = {
|
|
|
|
let option = {
|
|
|
@ -52,9 +53,13 @@ $(() => {
|
|
|
|
{
|
|
|
|
{
|
|
|
|
interval: 0,
|
|
|
|
interval: 0,
|
|
|
|
type: 'category',
|
|
|
|
type: 'category',
|
|
|
|
data: ['066', '066', '066', '066', '066'],
|
|
|
|
data: res.xValueList,
|
|
|
|
axisPointer: {
|
|
|
|
axisPointer: {
|
|
|
|
type: 'shadow'
|
|
|
|
type: 'shadow'
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
axisLabel:{
|
|
|
|
|
|
|
|
// rotate:10,
|
|
|
|
|
|
|
|
interval:0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
],
|
|
|
@ -82,9 +87,7 @@ $(() => {
|
|
|
|
return value + ' ml';
|
|
|
|
return value + ' ml';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
data: [
|
|
|
|
data: res.interiorList
|
|
|
|
2.0, 4.9, 7.0, 23.2, 25.6
|
|
|
|
|
|
|
|
]
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'Precipitation',
|
|
|
|
name: 'Precipitation',
|
|
|
@ -94,9 +97,7 @@ $(() => {
|
|
|
|
return value + ' ml';
|
|
|
|
return value + ' ml';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
data: [
|
|
|
|
data: res.lateralList
|
|
|
|
2.6, 5.9, 9.0, 26.4, 28.7
|
|
|
|
|
|
|
|
]
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
]
|
|
|
|
]
|
|
|
|
};
|
|
|
|
};
|
|
|
|