+
-
+
-
+
-
-
+
diff --git a/src/render/SNRPage.vue b/src/render/SNRPage.vue
index f950976..75946ba 100644
--- a/src/render/SNRPage.vue
+++ b/src/render/SNRPage.vue
@@ -2,18 +2,18 @@
-
-
+
+
+
-
-
+
+
-
-
+
+
-
-
+
diff --git a/src/render/components/PlanisphereView.vue b/src/render/components/PlanisphereView.vue
index 6b73ca7..4292945 100644
--- a/src/render/components/PlanisphereView.vue
+++ b/src/render/components/PlanisphereView.vue
@@ -23,13 +23,12 @@ use([
const props = defineProps({
title: String
-})
+})
const option = reactive({
title: {
text: props.title,
left: 'center'
- // textAlign: 'center'
},
polar: {
radius: '75%'
diff --git a/src/render/components/SNRView.vue b/src/render/components/SNRView.vue
index 93295f2..e29d1f4 100644
--- a/src/render/components/SNRView.vue
+++ b/src/render/components/SNRView.vue
@@ -9,17 +9,22 @@ import { reactive } from "vue"
import { use, graphic } from "echarts/core";
import { CanvasRenderer } from "echarts/renderers";
import { BarChart } from "echarts/charts";
-import { GridComponent } from "echarts/components";
+import { TitleComponent, GridComponent } from "echarts/components";
import VChart from "vue-echarts";
-import utils from '../api/utils'
+import { get_in_positioning_id } from '../api/util'
use([
CanvasRenderer,
BarChart,
+ TitleComponent,
GridComponent
]);
+const props = defineProps({
+ title: String
+})
+
const BAR_COUNT = 16
const UN_POSITIONING_COLOR = '#9ca3af'
const IN_POSITIONING_COLOR = new graphic.LinearGradient(
@@ -31,6 +36,10 @@ const IN_POSITIONING_COLOR = new graphic.LinearGradient(
)
const option = reactive({
+ title: {
+ text: props.title,
+ left: 'center'
+ },
grid: {
containLabel: true
},
+