rsbi 4 gadi atpakaļ
vecāks
revīzija
d952bd7d10

+ 6 - 0
src/main/java/com/ruisitech/bi/service/bireport/ChartService.java

@@ -228,6 +228,12 @@ public class ChartService extends BaseCompService {
 		}
 		//不显示值
 		properties.add(new ChartKeyContext("showLabel", "false"));
+		if(xcol != null){
+			Integer top = xcol.getTop();
+			if(top != null){
+				properties.add(new ChartKeyContext("xcnt", String.valueOf(top)));
+			}
+		}
 		
 		ctx.setProperties(properties);