feat: AntV时间条形图 字段名称调整

This commit is contained in:
ulleo 2023-12-14 11:44:06 +08:00
parent 782ba90c1b
commit a79b95a2d8
4 changed files with 14 additions and 2 deletions

View File

@ -1495,6 +1495,7 @@ export default {
dynamic: 'Dynamic',
gauge_size_field_delete: 'Dynamic field changedplease edit again',
chart_group: 'Sub Type',
chart_bar_time: 'Times',
chart_bar_group: 'Bar Group',
chart_bar_group_stack: 'Group Stack Bar',
field_dynamic: 'Dynamic',
@ -1522,6 +1523,7 @@ export default {
set_zero: 'Set Zero',
ignore_data: 'Hide Data',
sub_dimension_tip: 'This field is required, and cannot be included in the type axis, you should choose non-group chart if you don\'t need it, or you will get unexpected chart.',
time_bar_tip: 'This field is required, and axis type must be time',
drill_dimension_tip: 'Only fields in the dataset can be drilled',
table_scroll_tip: 'The detail table is only effective when the pagination mode is "Drop-down".',
table_threshold_tip: 'Tip: Do not select fields repeatedly. If the same field is configured repeatedly, only the last field will take effect.',

View File

@ -1492,6 +1492,7 @@ export default {
dynamic: '動態值',
gauge_size_field_delete: '動態值中字段發生變更,請重新編輯',
chart_group: '子類別',
chart_bar_time: '起止時間',
chart_bar_group: '分組柱狀圖',
chart_bar_group_stack: '分組堆疊柱狀圖',
field_dynamic: '動態值',
@ -1519,6 +1520,7 @@ export default {
ignore_data: '隱藏空值',
empty_data_field_ctrl: '字段設置',
sub_dimension_tip: '該字段為必填項,且不應使用類別軸中的字段,若無需該字段,請選擇基礎圖表進行展示,否則展示效果不理想',
time_bar_tip: '該字段為必填項,且需要兩個時間類型字段',
drill_dimension_tip: '鑽取字段僅支持數據集中的字段',
table_scroll_tip: '明細表僅在分頁模式為"下拉"時生效。',
table_threshold_tip: '提示:請勿重複選擇字段,若同一字段重複配置,則只有最後的字段配置生效。',

View File

@ -1492,6 +1492,7 @@ export default {
dynamic: '动态值',
gauge_size_field_delete: '动态值中字段发生变更,请重新编辑',
chart_group: '子类别',
chart_bar_time: '起止时间',
chart_bar_group: '分组柱状图',
chart_bar_group_stack: '分组堆叠柱状图',
field_dynamic: '动态值',
@ -1519,6 +1520,7 @@ export default {
set_zero: '置为0',
ignore_data: '隐藏空值',
sub_dimension_tip: '该字段为必填项,且不应使用类别轴中的字段,若无需该字段,请选择基础图表进行展示,否则展示效果不理想。',
time_bar_tip: '该字段为必填项,且需要两个时间类型字段',
drill_dimension_tip: '钻取字段仅支持数据集中的字段',
table_scroll_tip: '明细表仅在分页模式为"下拉"时生效。',
table_threshold_tip: '提示:请勿重复选择字段,若同一字段重复配置,则只有最后的字段配置生效',

View File

@ -693,7 +693,8 @@
>
<span class="data-area-label">
<span>
<span v-if="view.type !=='flow-map'">{{ $t('chart.chart_group') }}</span>
<span v-if="view.type === 'bar-time-range'">{{ $t('chart.chart_bar_time') }}</span>
<span v-else-if="view.type !== 'flow-map'">{{ $t('chart.chart_group') }}</span>
<span v-else-if="view.type === 'flow-map'">{{ $t('chart.end_point') }}</span>
<span
v-show="view.type !== 'line'"
@ -709,7 +710,12 @@
placement="bottom"
>
<div slot="content">
{{ $t('chart.sub_dimension_tip') }}
<template v-if="view.type === 'bar-time-range'">
{{ $t('chart.time_bar_tip') }}
</template>
<template v-else>
{{ $t('chart.sub_dimension_tip') }}
</template>
</div>
<i
class="el-icon-info"