|
@@ -176,12 +176,19 @@ export default defineComponent({
|
|
|
|
|
|
/* 相关性图表 */
|
|
|
const initRelevanceChartData=(data)=>{
|
|
|
+ const relevanceUnitEnMap={
|
|
|
+ '年': 'Year',
|
|
|
+ '季': 'Season',
|
|
|
+ '月': 'Month',
|
|
|
+ '周': 'Week',
|
|
|
+ '天': 'Day',
|
|
|
+ }
|
|
|
// 处理X轴
|
|
|
let xAxis={
|
|
|
categories: data.XEdbIdValue,
|
|
|
tickWidth: 1,
|
|
|
title: {
|
|
|
- text: `期数(${data.CorrelationChartInfo.LeadUnit})`,
|
|
|
+ text: language.value=='ch'?`期数(${data.CorrelationChartInfo.LeadUnit})`:`stage(${relevanceUnitEnMap[data.CorrelationChartInfo.LeadUnit]})`,
|
|
|
align: 'high',
|
|
|
rotation: 0,
|
|
|
x: 0,
|