|
|
@@ -12,6 +12,7 @@ import com.usoftchina.bi.core.base.TestPage;
|
|
|
import com.usoftchina.bi.server.model.po.TokenData;
|
|
|
import com.usoftchina.bi.server.model.po.User;
|
|
|
import com.usoftchina.bi.server.model.vo.configVo.*;
|
|
|
+import com.usoftchina.bi.server.model.vo.dataVo.PopAndIndDataInfo;
|
|
|
import com.usoftchina.bi.server.service.chart.*;
|
|
|
import com.usoftchina.bi.server.service.user.UserService;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
@@ -131,7 +132,9 @@ public class DashboardsToChartsUtilService {
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
}
|
|
|
- return showPopulationService.showPopulation(populationInfo, token, chartId);
|
|
|
+ RepEntity<PopAndIndDataInfo> repEntity = showPopulationService.showPopulation(populationInfo, token, chartId);
|
|
|
+ repEntity.getData().setStyleConfig(styleConfig);
|
|
|
+ return repEntity;
|
|
|
}
|
|
|
|
|
|
public RepEntity getIndividual(String fetchConfig, String token, List<Screen> filters, TestPage testPage, int chartId, String styleConfig) throws SQLException {
|
|
|
@@ -143,7 +146,9 @@ public class DashboardsToChartsUtilService {
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
}
|
|
|
- return showIndividualService.showIndividual(individualConfigInfo, token, chartId);
|
|
|
+ RepEntity<PopAndIndDataInfo> repEntity = showIndividualService.showIndividual(individualConfigInfo, token, chartId);
|
|
|
+ repEntity.getData().setStyleConfig(styleConfig);
|
|
|
+ return repEntity;
|
|
|
}
|
|
|
|
|
|
public RepEntity getPie(String fetchConfig, String token, List<Screen> filters, int chartId, String styleConfig){
|