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

sk_shailesh

Members
  • Posts

    9
  • Joined

  • Last visited

sk_shailesh's Achievements

Apprentice

Apprentice (3/14)

  • First Post Rare
  • Conversation Starter Rare
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Hello friends, I would like to know that are there any licencing issues regarding the use of Jasper Report only, in the Production phase. I didn't find any information regarding the licencing in production phase on jasperforge.org. Please give your valuable remarks/links. Expecting earliest reply. Thanks & Regards, Shailesh Kulkarni :)
  2. Hi Friends, I have created the report, that's having the chart. When i have exported the report to pdf,excel,rtf format's in the struts web application then it is chart is coming fine. I am creating the Chart within the Jasper Report & not using any other chart tool like JFree chart. But when i am exporting into the Html then it is not coming. I am setting the following chart properties : JRHtmlExporter htmlExporter = new JRHtmlExporter(); htmlExporter.setParameter(JRExporterParameter.JASPER_PRINT,jasperPrint); htmlExporter.setParameter(JRExporterParameter.OUTPUT_STREAM,response.getOutputStream()); //htmlExporter.setParameter(JRExporterParameter.OUTPUT_FILE_NAME,reportTitle); //htmlExporter.setParameter(JRHtmlExporterParameter.OUTPUT_FILE, new java.io.File("c:/adhoc_rpt.html")); htmlExporter.setParameter(JRHtmlExporterParameter.IS_USING_IMAGES_TO_ALIGN,Boolean.FALSE); htmlExporter.setParameter(JRHtmlExporterParameter.IS_OUTPUT_IMAGES_TO_DIR,Boolean.TRUE); htmlExporter.setParameter(JRHtmlExporterParameter.IS_WRAP_BREAK_WORD,Boolean.TRUE); //htmlExporter.setParameter(JRHtmlExporterParameter.IMAGES_DIR,"c:/"); htmlExporter.setParameter(JRHtmlExporterParameter.IS_WHITE_PAGE_BACKGROUND,Boolean.FALSE); htmlExporter.setParameter(JRHtmlExporterParameter.IS_REMOVE_EMPTY_SPACE_BETWEEN_ROWS,Boolean.TRUE); htmlExporter.setParameter(JRHtmlExporterParameter.HTML_HEADER,htmlHeader); htmlExporter.exportReport(); Can any body please give me some sol'n or hints regarding this. Waiting for your earliest reply. Thanks in Advance, Regards, Shailesh :) Post edited by: sk_shailesh, at: 2007/08/10 12:36
  3. Hi Friends, I am creating a Bar3D chart using the jasper api. The code is as : JRDesignChart chart = null; chart = new JRDesignChart(jasperDesign,JRChart.CHART_TYPE_BAR3D); chart.setEvaluationTime(JRExpression.EVALUATION_TIME_REPORT); chart.setShowLegend(false); chart.setX(20); chart.setY(20); chart.setWidth(200); chart.setHeight(300); chart.setBorder(JRGraphicElement.PEN_THIN); chart.setBorderColor(Color.BLACK); JRDesignExpression chartTitle = new JRDesignExpression(); chartTitle.setValueClassName("java.lang.String"); chartTitle.setText("My Chart Title"); chart.setTitleExpression(chartTitle); It's giving the exception as : Exception : net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file: 1. a cannot be resolved value = (java.lang.String)(a);//$JR_EXPR_ID=15$ <-> 2. a cannot be resolved value = (java.lang.String)(a);//$JR_EXPR_ID=15$ <-> 3. a cannot be resolved value = (java.lang.String)(a);//$JR_EXPR_ID=15$ <-> Would anyone give me hint that how to set the chart title using the code approch ? Thanks in Advance. Regards, Shailesh :)
  4. Hi Friends, I am creating a Bar3D chart using the jasper api. The code is as : JRDesignChart chart = null; chart = new JRDesignChart(jasperDesign,JRChart.CHART_TYPE_BAR3D); chart.setEvaluationTime(JRExpression.EVALUATION_TIME_REPORT); chart.setShowLegend(false); chart.setX(20); chart.setY(20); chart.setWidth(200); chart.setHeight(300); chart.setBorder(JRGraphicElement.PEN_THIN); chart.setBorderColor(Color.BLACK); JRDesignExpression chartTitle = new JRDesignExpression(); chartTitle.setValueClassName("java.lang.String"); chartTitle.setText("My Chart Title"); chart.setTitleExpression(chartTitle); It's giving the exception as : Exception : net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file: 1. a cannot be resolved value = (java.lang.String)(a);//$JR_EXPR_ID=15$ <-> 2. a cannot be resolved value = (java.lang.String)(a);//$JR_EXPR_ID=15$ <-> 3. a cannot be resolved value = (java.lang.String)(a);//$JR_EXPR_ID=15$ <-> Would anyone give me hint that how to set the chart title using the code approch ? Thanks in Advance. Regards, Shailesh :)
  5. Hi Friend, Creating chart using the Jasper API & no static design time report structure(i.e. not with the iReport also). Creating the report as well as chart using jasper api at runtime. Can u plz provide me hints or sample code for creating a chart in jasper report using the jasper api ? Waiting for ur earliest reply. Thanks in advance. Regards, Shailesh Kulkarni :P
  6. Hi Friends, I am designing the report at the runtime for the Adhoc report requirement. I want to add the Bar chart at runtime. Can anyone plz replay any sample code to create the bar chart at run time using Jasper API. It's very urgent, so plz replay the code. Thanks in Advance. Regards, Shailesh Kulkarni :P
  7. U can generate the report using the jsp/servlet & then include that jsp/servlet in the doView() method of the portlet. Try with very simple example report.I think that will work. Plz comment on what is the result.:P
  8. Hi Friends, I am new to Jasper Reports. I have developed Jasper Report and i want to call it from the JSP/ Servlet. Would any one provide me hints or examples regarding calling Jasper Reports from Jsp/Servlet. :P
  9. Would please any one give me a link to download the entire Jasper Report API ? :P
×
×
  • Create New...