Commit 06b5537fa650a0380a69237f2bf70658ea976a7d

Authored by baohanddd
1 parent 417b95f458

add statistics(map) common index

Showing 2 changed files with 10 additions and 0 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/StatisticsController.java View file @ 06b5537
... ... @@ -83,6 +83,7 @@
83 83 Series patientSeries = new Series();
84 84 patientSeries.setName("近30天建档人数");
85 85 patientSeries.setType("bar");
  86 + normal.setPosition("right");
86 87 patientSeries.setLabel(label);
87 88 List<Object> patientDataList = new ArrayList<>();
88 89 patientSeries.setData(patientDataList);
platform-reportData/src/main/java/com/lymsh/platform/reportdata/model/echarts/Normal.java View file @ 06b5537
... ... @@ -7,6 +7,15 @@
7 7  
8 8 private Boolean show;
9 9 private String color;
  10 + private String position;
  11 +
  12 + public String getPosition() {
  13 + return position;
  14 + }
  15 +
  16 + public void setPosition(String position) {
  17 + this.position = position;
  18 + }
10 19  
11 20 public Normal(Boolean show, String color) {
12 21 this.show = show;