![]() These are the parameters, the first is to put the border cell and the second is to disable de backgroundĮtParameter(JRXlsExporterParameter.IS_IGNORE_CELL_BORDER, false) ĮtParameter(JRXlsExporterParameter. JExcelApiExporter exporter = new JExcelApiExporter() ĮtParameter(JRExporterParameter.JASPER_PRINT, jasperPrint) ĮtParameter(JRExporterParameter.OUTPUT_FILE_NAME, tempFile) ĮtParameter(JRXlsExporterParameter.IS_ONE_PAGE_PER_SHEET, false) ĮtParameter(JRXlsExporterParameter.IS_DETECT_CELL_TYPE, true) JasperFillManager.fillReport(jasperReport, parameters, connection) ![]() JasperReport jasperReport = (JasperReport) JRLoader.loadObject(reportSource) ![]() Select the Edit button and in the Axis label range select the range in the Store column: Figure 3. Select Data on the chart to change axis values. Parameters.put(JRParameter.IS_IGNORE_PAGINATION, true) To change x axis values to Store we should follow several steps: Right-click on the graph and choose Select Data: Figure 2. Hi, I was searching for put the cell borders in excel whit jasperreport and I found it, I looked the api, you have tu pass some properties to jasperreport, I'm using this:
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |