DynamicReports subreport toimage got width=-1
DRDataSource callDataSource = new DRDataSource(“topK”, “userId”, “seatId”, “usage”); DRDataSource textDataSource = new DRDataSource(“topK”, “userId”, “seatId”, “usage”); StyleBuilder borderStyle = Styles.style() .setBorder(Styles.border(Styles.pen(1f, LineStyle.SOLID))) .setHorizontalTextAlignment(HorizontalTextAlignment.CENTER); var topK = col.column(“Top k”, “topK”, type.integerType()) .setTitleStyle(stl.style(stl.fontTimesNewRomanBold()).setHorizontalTextAlignment(HorizontalTextAlignment.CENTER)) .setStyle(borderStyle); var userId = col.column(“User Id”, “userId”, type.longType()) .setStyle(borderStyle) .setTitleStyle(stl.style(stl.fontTimesNewRomanBold()).setHorizontalTextAlignment(HorizontalTextAlignment.CENTER)); var seatId = col.column(“Seat Id”, “seatId”, type.longType()) .setStyle(borderStyle) .setTitleStyle(stl.style(stl.fontTimesNewRomanBold()).setHorizontalTextAlignment(HorizontalTextAlignment.CENTER)); var usage = col.column(“Usage”, “usage”, […]