Jump to content
We've recently updated our Privacy Statement, available here ×

plunavat

Members
  • Posts

    10
  • Joined

  • Last visited

plunavat's Achievements

Apprentice

Apprentice (3/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Collaborator Rare

Recent Badges

0

Reputation

  1. Make Position Typt to "float" and make Stretch Type to "no stretch"
  2. Make Position Typt to "float" and make Stretch Type to "no stretch"
  3. Hello, I am using scatter chart and printing the same to pdf using JASPERREPORT (as i need to show other data) I am creating collection as follows public FamilyChartSheet(Tbl12ModelPerformance tbl12ModelPerformance,JFreeChart chart) { this.tbl12ModelPerformance = tbl12ModelPerformance; this.chart = new JCommonDrawableRenderer(chart); if (this.tbl12ModelPerformance != null) { Tbl09Performancecurvemaster tbl09Performancecurvemaster = this.tbl12ModelPerformance .getTbl09Performancecurvemaster(); Tbl02Modelmaster tbl02Modelmaster = this.tbl12ModelPerformance.getTbl02Modelmaster(); this.pumpModel = tbl02Modelmaster.getPumpModel(); this.performanceCurveNo = tbl09Performancecurvemaster.getPerformanceCurveNo(); this.mounting = tbl02Modelmaster.getTbl01Pumptype().getMounting(); this.suction = tbl02Modelmaster.getSuction(); this.discharge = tbl02Modelmaster.getDischarge(); this.uomDimension = "mm"; this.minStage = tbl02Modelmaster.getMinStage(); this.maxStage = tbl02Modelmaster.getMaxStage(); this.stageType = tbl02Modelmaster.getStageType(); } }[/code] Code to generate pdf public void PDFExporterOfferPath(Collection<?> beanCollection, String jasperpath, String path, Map<String, Object> parameters1) { try { JRBeanCollectionDataSource beanCollectionDataSource = new JRBeanCollectionDataSource(beanCollection); JasperPrint jasperPrint = JasperFillManager.fillReport(getReportPathCompany() + jasperpath, parameters1, beanCollectionDataSource); ArrayList<JasperPrint> jasperPrintList = new ArrayList<JasperPrint>(); jasperPrintList.add(jasperPrint); File file1 = new File(path); if (!file1.exists()) { file1.createNewFile(); } OutputStream output = new FileOutputStream(file1); JRPdfExporter exporter = new JRPdfExporter(); exporter.setParameter(JRExporterParameter.JASPER_PRINT_LIST, jasperPrintList); exporter.setParameter(JRExporterParameter.OUTPUT_STREAM, output); exporter.exportReport(); output.flush(); output.close(); } catch (Exception ex) { ex.printStackTrace(); } }[/code]The pdf when opened in Acrobat Reader in Android Mobile App shows following (chart is showing red colour box) When the pdf is opened in Drive Pdf Viewer or WPS Office Viewer then the pdf display is ok Could you please let me know the issue I am using jasperReport 5.6.0, jfreechart 1.0.14
  4. Hello, how do we remove the entire row when the cell in measures is null or blank i have checked "Remove Line when Blank" and "Blank when null", but not giving desired result Thanks in Advance Regards, Pranav C Lunavat
  5. Hello, can we display the row group in crosstab as entire row i am using crosstab query to show data which is running properly. here i have two row groups, one column group and one measure the output of the report is as shown below Here the first column is consuming space and hence i would like to show the report as shown below could you please help me. Thanks in advance Regards, Pranav C Lunavat
  6. Hello, please find below the dataset from mysql db http://www.velotechsolutions.com/data.png I would like to show this in report columnwise. i.e for each "LineItem" , "specification" would be shown as new column and the "Heading" would be shown only once on each page. A page can have 3 column and if there are more "LineItems" the columns would be shown on new page again repeating the "Heading" Once. please find the desired format below http://www.velotechsolutions.com/output.png http://www.velotechsolutions.com/output.png your help would be appreciated. Thanks in advance regards, Pranav C Lunavat
  7. Thanks a lot for the answer. this solved the problem.. Regards, Pranav
  8. Hello, i need to create a collections variable from the fields. I have a field called RollNo. when i place this field in detail band, it would display all records. say it displays 5 records with 23, 67, 45, 89 and 90 Now i want to create a variable "RollNoList" with type as collections such that it would have value {23,67,45,89,90}. RollNoList would be dynamic and should have all roll no records. (something like "sum" where the values are added automatically) thanks in advance Regards, Pranav C Lunavat
  9. Hello, i want to make a Quotation. here i have 4 tables namely offer, pump, spareparts and accessories offer is the master table and is a foreign key to all other remaining tables. so a offer master say "1" has 3 records in products, 5 records in spareparts and 2 records in accessories now i want to print Quotation for offer No "1" which has in all 10 records in detail band with price how can we do this.. Thanks in advance Regards, Pranav C Lunavat
  10. In my project, I need to draw a scatter chart with polynomial trendline with degree (see attachement). I have serached my best in ireports for the trendline option, but could not find it. This could be same as excel scatter chart. Could you please let me know how to go about it or any other chart options where trendline option is available Regards, Pranav C Lunavat Post Edited by plunavat at 07/06/2011 18:35 Post Edited by plunavat at 07/06/2011 18:38
×
×
  • Create New...