diff --git a/nezha-fronted/src/components/common/bottomBox/tabs/dashboardTab.vue b/nezha-fronted/src/components/common/bottomBox/tabs/dashboardTab.vue
index 5195f60a7..e36941875 100644
--- a/nezha-fronted/src/components/common/bottomBox/tabs/dashboardTab.vue
+++ b/nezha-fronted/src/components/common/bottomBox/tabs/dashboardTab.vue
@@ -249,10 +249,6 @@ export default {
min: undefined,
max: undefined
},
- option: {
- lineWidth: 2,
- pointSize: 8
- }
},
elements: [{ expression: '', legend: '', type: 'expert', id: '', name: 'A', state: 1, orderNum: 0 }],
panel: '',
@@ -461,12 +457,6 @@ export default {
max: undefined
}
}
- if (!this.chart.param.option) {
- this.chart.param.option = {
- lineWidth: 2,
- pointSize: 8
- }
- }
}
if (this.chart.type === 'stat') {
if (!this.chart.param.sparklineMode) { this.chart.param.sparklineMode = 'none' }
@@ -503,12 +493,6 @@ export default {
max: undefined
}
}
- if (!this.chart.param.option) {
- this.chart.param.option = {
- lineWidth: 2,
- pointSize: 8
- }
- }
}
if (this.chart.type === 'stat') {
if (!this.chart.param.sparklineMode) { this.chart.param.sparklineMode = 'none' }
diff --git a/nezha-fronted/src/components/common/rightBox/chart/chartConfig.vue b/nezha-fronted/src/components/common/rightBox/chart/chartConfig.vue
index 4c9df2468..8d0d0abe3 100644
--- a/nezha-fronted/src/components/common/rightBox/chart/chartConfig.vue
+++ b/nezha-fronted/src/components/common/rightBox/chart/chartConfig.vue
@@ -448,44 +448,6 @@
-
-
-
- {{$t('dashboard.dashboard.chartForm.option')}}
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -1262,10 +1224,6 @@ export default {
min: undefined,
max: undefined
},
- option: {
- lineWidth: 2,
- pointSize: 8
- }
}
this.$nextTick(() => {
this.chartConfig.param.thresholds.push({ value: undefined, color: randomcolor() })
diff --git a/nezha-fronted/src/components/common/rightBox/chart/chartRightBox.vue b/nezha-fronted/src/components/common/rightBox/chart/chartRightBox.vue
index 635ea9af0..50cf20570 100644
--- a/nezha-fronted/src/components/common/rightBox/chart/chartRightBox.vue
+++ b/nezha-fronted/src/components/common/rightBox/chart/chartRightBox.vue
@@ -402,10 +402,6 @@ export default {
label: '',
min: undefined,
max: undefined
- },
- option: {
- lineWidth: 2,
- pointSize: 8
}
}
}
diff --git a/nezha-fronted/src/components/page/dashboard/dashboard.vue b/nezha-fronted/src/components/page/dashboard/dashboard.vue
index 5652397a4..e3cc233e1 100644
--- a/nezha-fronted/src/components/page/dashboard/dashboard.vue
+++ b/nezha-fronted/src/components/page/dashboard/dashboard.vue
@@ -266,10 +266,6 @@ export default {
min: undefined,
max: undefined
},
- option: {
- lineWidth: 2,
- pointSize: 8
- }
},
elements: [{ expression: '', legend: '', type: 'expert', id: '', name: 'A', state: 1, orderNum: 0 }],
panel: '',
@@ -632,12 +628,6 @@ export default {
max: undefined
}
}
- if (!this.chart.param.option) {
- this.chart.param.option = {
- lineWidth: 2,
- pointSize: 8
- }
- }
}
if (this.chart.type === 'stat') {
if (!this.chart.param.sparklineMode) { this.chart.param.sparklineMode = 'none' }
@@ -674,12 +664,6 @@ export default {
max: undefined
}
}
- if (!this.chart.param.option) {
- this.chart.param.option = {
- lineWidth: 2,
- pointSize: 8
- }
- }
}
if (this.chart.type === 'stat') {
if (!this.chart.param.sparklineMode) { this.chart.param.sparklineMode = 'none' }