소스 검색

看板增加图表类型

chenw 6 년 전
부모
커밋
1789bc5f23
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      bi-server/src/main/java/com/usoftchina/bi/server/service/dashboard/DashboardsToChartsUtilService.java

+ 1 - 1
bi-server/src/main/java/com/usoftchina/bi/server/service/dashboard/DashboardsToChartsUtilService.java

@@ -82,7 +82,7 @@ public class DashboardsToChartsUtilService {
         }else if ("population".equals(chartType)){
         }else if ("population".equals(chartType)){
             return getPopulation(fetchConfig, token, filters, chartId, styleConfig);
             return getPopulation(fetchConfig, token, filters, chartId, styleConfig);
 
 
-        }else if ("individual".equals(chartType)){
+        }else if ("individual".equals(chartType) || "indicator".equalsIgnoreCase(chartType)){
             return getIndividual(fetchConfig, token, filters, chartsToDashInfo.getTestPage(), chartId, styleConfig);
             return getIndividual(fetchConfig, token, filters, chartsToDashInfo.getTestPage(), chartId, styleConfig);
 
 
         }else if("scatter".equals(chartType)){
         }else if("scatter".equals(chartType)){