|
@@ -309,6 +309,8 @@ export default {
|
|
option.series=[{
|
|
option.series=[{
|
|
name:'平均轮毂风速',
|
|
name:'平均轮毂风速',
|
|
type:'line',
|
|
type:'line',
|
|
|
|
+ showSymbol:false,
|
|
|
|
+ itemStyle:{color:'#2ec7c9'},
|
|
data: this.windChartData.map(_=>_.value)
|
|
data: this.windChartData.map(_=>_.value)
|
|
}]
|
|
}]
|
|
}
|
|
}
|
|
@@ -318,6 +320,8 @@ export default {
|
|
option.series=[{
|
|
option.series=[{
|
|
name:'平均总辐射',
|
|
name:'平均总辐射',
|
|
type:'line',
|
|
type:'line',
|
|
|
|
+ showSymbol:false,
|
|
|
|
+ itemStyle:{color:'#2ec7c9'},
|
|
data: this.gfChartData.map(_=>_.value)
|
|
data: this.gfChartData.map(_=>_.value)
|
|
}]
|
|
}]
|
|
}
|
|
}
|
|
@@ -327,6 +331,8 @@ export default {
|
|
option.series=[{
|
|
option.series=[{
|
|
name:'平均轮毂风速',
|
|
name:'平均轮毂风速',
|
|
type:'line',
|
|
type:'line',
|
|
|
|
+ showSymbol:false,
|
|
|
|
+ itemStyle:{color:'#2ec7c9'},
|
|
data: this.windChartData.map(_=>_.value)
|
|
data: this.windChartData.map(_=>_.value)
|
|
}]
|
|
}]
|
|
}
|
|
}
|
|
@@ -361,13 +367,12 @@ export default {
|
|
let index = 0;
|
|
let index = 0;
|
|
option.tooltip.enterable = true
|
|
option.tooltip.enterable = true
|
|
option.tooltip.formatter = function (params){
|
|
option.tooltip.formatter = function (params){
|
|
- let str ='<div style="max-height: calc(55vh);overflow-y: auto">'
|
|
|
|
|
|
+ let str ='<div class="flex-column flex-wrap" style="height: calc(40vh);overflow-y: auto">'
|
|
for(let param of params){
|
|
for(let param of params){
|
|
- str = str +'<div class="flex justify-between"><div>'+param.marker+ param.seriesName+'</div><div class="ml-0 mr-0">'+param.value+'</div></div>'
|
|
|
|
|
|
+ str = str +'<div class="flex justify-between ml-1"><div>'+param.marker+ param.seriesName+'</div><div class="ml-0 mr-0">'+param.value+'</div></div>'
|
|
}
|
|
}
|
|
str = str +'</div>'
|
|
str = str +'</div>'
|
|
return str
|
|
return str
|
|
-
|
|
|
|
}
|
|
}
|
|
this.$axios({url: '/largeScreenController/forecastNwpFull', method: 'get',params: queryParams}).then(response => {
|
|
this.$axios({url: '/largeScreenController/forecastNwpFull', method: 'get',params: queryParams}).then(response => {
|
|
let stationObj = response.data
|
|
let stationObj = response.data
|