diff --git a/frontend/src/lang/en.js b/frontend/src/lang/en.js
index 41dccca03f..2911aef2da 100644
--- a/frontend/src/lang/en.js
+++ b/frontend/src/lang/en.js
@@ -822,7 +822,8 @@ export default {
stack_item: 'Stack Item',
map_range: 'Map range',
select_map_range: 'Please select map range',
- area: 'Area'
+ area: 'Area',
+ placeholder_field: 'Drag Field'
},
dataset: {
sheet_warn: 'There are multiple sheet pages, and the first one is extracted by default',
diff --git a/frontend/src/lang/tw.js b/frontend/src/lang/tw.js
index 9e55f7d1d9..e2899fe5bf 100644
--- a/frontend/src/lang/tw.js
+++ b/frontend/src/lang/tw.js
@@ -822,7 +822,8 @@ export default {
map_range: '地圖範圍',
select_map_range: '請選擇地圖範圍',
area: '地區',
- stack_item: '堆疊項'
+ stack_item: '堆疊項',
+ placeholder_field: '拖入字段'
},
dataset: {
sheet_warn: '有多個sheet頁面,默認抽取第一個',
diff --git a/frontend/src/lang/zh.js b/frontend/src/lang/zh.js
index 8ab22e6867..4f096de4fc 100644
--- a/frontend/src/lang/zh.js
+++ b/frontend/src/lang/zh.js
@@ -822,7 +822,8 @@ export default {
map_range: '地图范围',
select_map_range: '请选择地图范围',
area: '地区',
- stack_item: '堆叠项'
+ stack_item: '堆叠项',
+ placeholder_field: '拖入字段'
},
dataset: {
sheet_warn: '有多个 Sheet 页,默认抽取第一个',
diff --git a/frontend/src/views/chart/view/ChartEdit.vue b/frontend/src/views/chart/view/ChartEdit.vue
index b15cd391dc..59ab020022 100644
--- a/frontend/src/views/chart/view/ChartEdit.vue
+++ b/frontend/src/views/chart/view/ChartEdit.vue
@@ -253,6 +253,9 @@
class="drag-block-style"
@add="addXaxis"
>
+
+ {{ $t('chart.placeholder_field') }}
+
@@ -280,6 +283,9 @@
class="drag-block-style"
@add="addYaxis"
>
+
+ {{ $t('chart.placeholder_field') }}
+
@@ -300,6 +306,9 @@
class="drag-block-style"
@add="addStack"
>
+
+ {{ $t('chart.placeholder_field') }}
+
@@ -319,6 +328,9 @@
style="padding:2px 0 0 0;width:100%;min-height: 32px;border-radius: 4px;border: 1px solid #DCDFE6;overflow-x: auto;display: flex;align-items: center;background-color: white;"
@add="addCustomFilter"
>
+
+ {{ $t('chart.placeholder_field') }}
+
@@ -1592,4 +1604,11 @@ export default {
align-items: center;
background-color: white;
}
+ .drag_placeholder-style{
+ font-size: 12px;
+ color: #CCCCCC;
+ padding: 0 0 2px 10px;
+ display: inline-block;
+ width: 100%;
+ }