Browse Source

同步eta1.6.3相关性图表改动

cxmo 9 months ago
parent
commit
629c5731e0
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/views/hzyb/chart/Detail.vue

+ 3 - 3
src/views/hzyb/chart/Detail.vue

@@ -526,9 +526,9 @@ const initRelevanceChart=(data)=>{
           type: (chartTheme&&chartTheme.lineOptionList[index].lineType) || 'spline',
           dashStyle: (chartTheme&&chartTheme.lineOptionList[index].dashStyle)||'Solid',
           yAxis: 0,
-          name: data.ChartInfo.ChartName,
-          nameCh: data.ChartInfo.ChartName,
-          nameEn: data.ChartInfo.ChartName,
+          name: item.Name||data.ChartInfo.ChartName,
+          nameCh: item.Name||data.ChartInfo.ChartName,
+          nameEn: item.NameEn||data.ChartInfo.ChartName,
           color: '#00f',
           chartType: 'linear',
           lineWidth: (chartTheme&&chartTheme.lineOptionList[index].lineWidth) || 3,