统计分析

This commit is contained in:
geting 2024-11-01 16:48:31 +08:00
parent 2c278b537d
commit 0b53a804d9
3 changed files with 55 additions and 5 deletions

View File

@ -108,7 +108,25 @@ const chart: any = ref(null)
onMounted(() => {
if (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()
})

View File

@ -215,7 +215,23 @@ const chart: any = ref(null)
onMounted(() => {
if (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()
})
@ -481,7 +497,7 @@ const timestampToTime = (timestamp: any) => {
color: #0064aa;
}
.customName {
width: fit-content;
width: 120px;
margin-right: 10px;
}
}

View File

@ -217,7 +217,23 @@ const chart: any = ref(null)
onMounted(() => {
if (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()
})
@ -420,7 +436,7 @@ const timestampToTime = (timestamp: any) => {
margin-right: 10px;
}
.customName {
width: fit-content;
width: 120px;
margin-right: 10px;
}
.statAnalysisSelect {