自定义报表 折线图功能完成

yun-zuoyi
wei.peng 6 years ago
parent 155aa6d6e6
commit 1bdc307a1b

@ -439,7 +439,7 @@ public class BlockReportEnumUtil {
}else if(type.equals(TEMPLATE_TYPE.ECHARTS_BAR)){ // 饼图 只需要名称 和值
return new String[]{"name","value"};
}else if(type.equals(TEMPLATE_TYPE.ECHARTS_LINE)){ // 饼图 只需要名称 和值
return new String[]{"name","value","xAxis"};
return new String[]{"xAxis","name","value"};
}else if(type.equals(TEMPLATE_TYPE.ECHARTS_TREEMAP)){ // 饼图 只需要名称 和值
return new String[]{"name","value"};
}

@ -89,6 +89,11 @@ public class BrPojoAttr extends BaseBean {
@ApiParam(value ="聚合类型",example = "-1")
private Integer aggregationType;
@Column(name="AGGREGATION_ID")
@ApiParam(value ="聚合类型",example = "-1")
@JsonSerialize(using = ToStringSerializer.class)
private Long aggregationId;
@Column(name="ATTR_SORT")
@ApiParam(value ="字段排序")
private Integer attrSort;

Loading…
Cancel
Save