Explorar o código

fix 相关性图表颜色设置

cxmo hai 10 meses
pai
achega
bc505798ec
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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,