diff --git a/nezha-fronted/src/components/page/dashboard/chartBox.vue b/nezha-fronted/src/components/page/dashboard/chartBox.vue
index dea7900aa..57dfcca81 100644
--- a/nezha-fronted/src/components/page/dashboard/chartBox.vue
+++ b/nezha-fronted/src/components/page/dashboard/chartBox.vue
@@ -211,7 +211,7 @@
-
+
{{$t('dashboard.panel.chartForm.valMapping.value')}}
{{$t('dashboard.panel.chartForm.valMapping.range')}}
@@ -1054,6 +1054,14 @@
}else if(chartType === 'singleStat'){
this.setIsSingleStat();
this.resetElements();
+ this.statistics='',
+ this.editChart.param={
+ statistics:'',
+ valueMapping:{
+ type:'value',
+ mapping:[{text:'',value:''}]
+ }
+ }
}else {
this.setIsOtherChart();
if(chartType === 'bar'||chartType === 'line'||chartType === 'stackArea'){
@@ -1287,7 +1295,6 @@
}
.val-mapping-type .no-fill span{
background-color: unset !important;
- color: #FA901C !important;
}