diff --git a/hx-ai-intelligent/src/icon/biaoge.svg b/hx-ai-intelligent/src/icon/biaoge.svg index 75845a1..dc789ff 100644 --- a/hx-ai-intelligent/src/icon/biaoge.svg +++ b/hx-ai-intelligent/src/icon/biaoge.svg @@ -1 +1,4 @@ - \ No newline at end of file + + + + diff --git a/hx-ai-intelligent/src/icon/bingtu.svg b/hx-ai-intelligent/src/icon/bingtu.svg index 56c8ecd..80f4a3b 100644 --- a/hx-ai-intelligent/src/icon/bingtu.svg +++ b/hx-ai-intelligent/src/icon/bingtu.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/hx-ai-intelligent/src/icon/title.svg b/hx-ai-intelligent/src/icon/title.svg new file mode 100644 index 0000000..9bf85e3 --- /dev/null +++ b/hx-ai-intelligent/src/icon/title.svg @@ -0,0 +1,4 @@ + + + + diff --git a/hx-ai-intelligent/src/icon/xiazai.svg b/hx-ai-intelligent/src/icon/xiazai.svg index dca8632..738f4a4 100644 --- a/hx-ai-intelligent/src/icon/xiazai.svg +++ b/hx-ai-intelligent/src/icon/xiazai.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/hx-ai-intelligent/src/view/monitor/deviceMonitor/graph/index.vue b/hx-ai-intelligent/src/view/monitor/deviceMonitor/graph/index.vue index 194ded6..6eee95e 100644 --- a/hx-ai-intelligent/src/view/monitor/deviceMonitor/graph/index.vue +++ b/hx-ai-intelligent/src/view/monitor/deviceMonitor/graph/index.vue @@ -74,10 +74,19 @@ // } } const option = { + grid: { + top: 60, // 上内边距 + bottom: 40, // 下内边距 + left: 10, // 左内边距 + right: 60, // 右内边距 + containLabel: true, // 自动调整 grid 以适应标签 + }, legend: { data: legendList, orient: 'horizontal', - bottom: 30, + top: 30, + right: 130, + icon: 'rect', }, tooltip: { trigger: 'axis', diff --git a/hx-ai-intelligent/src/view/monitor/deviceMonitor/page.vue b/hx-ai-intelligent/src/view/monitor/deviceMonitor/page.vue index 4cbf1e7..afae477 100644 --- a/hx-ai-intelligent/src/view/monitor/deviceMonitor/page.vue +++ b/hx-ai-intelligent/src/view/monitor/deviceMonitor/page.vue @@ -1,6 +1,6 @@ - + diff --git a/hx-ai-intelligent/src/view/monitor/environmentMonitor/averageData/index.vue b/hx-ai-intelligent/src/view/monitor/environmentMonitor/averageData/index.vue index 89066d2..7b55d5f 100644 --- a/hx-ai-intelligent/src/view/monitor/environmentMonitor/averageData/index.vue +++ b/hx-ai-intelligent/src/view/monitor/environmentMonitor/averageData/index.vue @@ -1,51 +1,55 @@