统计分析
This commit is contained in:
parent
2c278b537d
commit
0b53a804d9
@ -108,7 +108,25 @@ const chart: any = ref(null)
|
|||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
if (chartContainer.value) {
|
if (chartContainer.value) {
|
||||||
chart.value = echarts.init(chartContainer.value)
|
chart.value = echarts.init(chartContainer.value)
|
||||||
chart.value.setOption(option)
|
chart.value.setOption({
|
||||||
|
xAxis: {
|
||||||
|
type: 'category',
|
||||||
|
name: 'KW',
|
||||||
|
},
|
||||||
|
yAxis: {
|
||||||
|
type: 'category',
|
||||||
|
name: 'm/s',
|
||||||
|
},
|
||||||
|
series: [
|
||||||
|
{
|
||||||
|
type: 'line',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
grid: {
|
||||||
|
left: '3%',
|
||||||
|
right: '3%',
|
||||||
|
},
|
||||||
|
})
|
||||||
}
|
}
|
||||||
queryWindTurbines()
|
queryWindTurbines()
|
||||||
})
|
})
|
||||||
|
@ -215,7 +215,23 @@ const chart: any = ref(null)
|
|||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
if (chartContainer.value) {
|
if (chartContainer.value) {
|
||||||
chart.value = echarts.init(chartContainer.value)
|
chart.value = echarts.init(chartContainer.value)
|
||||||
chart.value.setOption(option)
|
chart.value.setOption({
|
||||||
|
xAxis: {
|
||||||
|
type: 'category',
|
||||||
|
},
|
||||||
|
yAxis: {
|
||||||
|
type: 'category',
|
||||||
|
},
|
||||||
|
series: [
|
||||||
|
{
|
||||||
|
type: 'line',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
grid: {
|
||||||
|
left: '3%',
|
||||||
|
right: '3%',
|
||||||
|
},
|
||||||
|
})
|
||||||
}
|
}
|
||||||
queryWindTurbines()
|
queryWindTurbines()
|
||||||
})
|
})
|
||||||
@ -481,7 +497,7 @@ const timestampToTime = (timestamp: any) => {
|
|||||||
color: #0064aa;
|
color: #0064aa;
|
||||||
}
|
}
|
||||||
.customName {
|
.customName {
|
||||||
width: fit-content;
|
width: 120px;
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -217,7 +217,23 @@ const chart: any = ref(null)
|
|||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
if (chartContainer.value) {
|
if (chartContainer.value) {
|
||||||
chart.value = echarts.init(chartContainer.value)
|
chart.value = echarts.init(chartContainer.value)
|
||||||
chart.value.setOption(option)
|
chart.value.setOption({
|
||||||
|
xAxis: {
|
||||||
|
type: 'category',
|
||||||
|
},
|
||||||
|
yAxis: {
|
||||||
|
type: 'category',
|
||||||
|
},
|
||||||
|
series: [
|
||||||
|
{
|
||||||
|
type: 'line',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
grid: {
|
||||||
|
left: '3%',
|
||||||
|
right: '3%',
|
||||||
|
},
|
||||||
|
})
|
||||||
}
|
}
|
||||||
queryWindTurbines()
|
queryWindTurbines()
|
||||||
})
|
})
|
||||||
@ -420,7 +436,7 @@ const timestampToTime = (timestamp: any) => {
|
|||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
.customName {
|
.customName {
|
||||||
width: fit-content;
|
width: 120px;
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
.statAnalysisSelect {
|
.statAnalysisSelect {
|
||||||
|
Loading…
Reference in New Issue
Block a user