diff --git a/core/core-frontend/src/locales/en.ts b/core/core-frontend/src/locales/en.ts index ad318ce663..ebc2775c29 100644 --- a/core/core-frontend/src/locales/en.ts +++ b/core/core-frontend/src/locales/en.ts @@ -1878,7 +1878,8 @@ Scatter chart (bubble) chart: {a} (series name), {b} (data name), {c} (value arr "Can read field values in the form of ${'{'}fieldName{'}'} (does not support line breaks) ", number_of_scales_tip: 'Expected number of axis ticks, not the final result', assist_line_settings: 'Auxiliary line settings', - invalid_field: 'Invalid field' + invalid_field: 'Invalid field', + k_line_yaxis_tip: 'Open Price-Close Price-Low Price-High Price' }, dataset: { scope_edit: 'only effective when editing', diff --git a/core/core-frontend/src/locales/tw.ts b/core/core-frontend/src/locales/tw.ts index 00316dc1e6..c16f6a5208 100644 --- a/core/core-frontend/src/locales/tw.ts +++ b/core/core-frontend/src/locales/tw.ts @@ -1837,7 +1837,8 @@ export default { custom_label_content_tip: "可以使用 ${'{'}fieldName{'}'} 的形式讀取欄位值(不支援換行)", number_of_scales_tip: '期望的座標軸刻度數量,非最終結果', assist_line_settings: '輔助線設置', - invalid_field: '無效欄位' + invalid_field: '無效欄位', + k_line_yaxis_tip: '開盤價-收盤價-最低價-最高價' }, dataset: { scope_edit: '僅編輯時生效', diff --git a/core/core-frontend/src/locales/zh-CN.ts b/core/core-frontend/src/locales/zh-CN.ts index aab57956ae..f863186b6d 100644 --- a/core/core-frontend/src/locales/zh-CN.ts +++ b/core/core-frontend/src/locales/zh-CN.ts @@ -1839,7 +1839,8 @@ export default { custom_label_content_tip: "可以${'{'}fieldName{'}'}的形式读取字段值(不支持换行)", number_of_scales_tip: '期望的坐标轴刻度数量,非最终结果', assist_line_settings: '辅助线设置', - invalid_field: '无效字段' + invalid_field: '无效字段', + k_line_yaxis_tip: '开盘价-收盘价-最低价-最高价' }, dataset: { scope_edit: '仅编辑时生效', diff --git a/core/core-frontend/src/views/chart/components/js/panel/charts/line/stock-line.ts b/core/core-frontend/src/views/chart/components/js/panel/charts/line/stock-line.ts index eb141c0b76..67218c3fcc 100644 --- a/core/core-frontend/src/views/chart/components/js/panel/charts/line/stock-line.ts +++ b/core/core-frontend/src/views/chart/components/js/panel/charts/line/stock-line.ts @@ -47,12 +47,12 @@ export class StockLine extends G2PlotChartView { axis: AxisType[] = ['xAxis', 'yAxis', 'filter', 'extLabel', 'extTooltip'] axisConfig = { xAxis: { - name: `日期 / ${t('chart.dimension')}`, + name: `${t('common.component.date')} / ${t('chart.dimension')}`, limit: 1, type: 'd' }, yAxis: { - name: `开盘价-收盘价-最低价-最高价 / ${t('chart.quota')}`, + name: `${t('chart.k_line_yaxis_tip')} / ${t('chart.quota')}`, limit: 4, type: 'q' }