浏览代码

fix 相关性图表颜色设置

cxmo 10 月之前
父节点
当前提交
bc505798ec
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/hzyb/chart/Detail.vue

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

@@ -529,7 +529,7 @@ const initRelevanceChart=(data)=>{
           name: item.Name||data.ChartInfo.ChartName,
           nameCh: item.Name||data.ChartInfo.ChartName,
           nameEn: item.NameEn||data.ChartInfo.ChartName,
-          color: '#00f',
+          color: item.Color||'#00f',
           chartType: 'linear',
           lineWidth: (chartTheme&&chartTheme.lineOptionList[index].lineWidth) || 3,
           visible:true,