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

jairaj

Members
  • Posts

    12
  • Joined

  • Last visited

jairaj's Achievements

Apprentice

Apprentice (3/14)

  • First Post Rare
  • Collaborator Rare
  • Conversation Starter Rare
  • Week One Done
  • One Month Later

Recent Badges

0

Reputation

  1. Hi, Can we include an image (Say PieChart in JPEG Format) in an XSL report generated using JasperReport.I can include charts in PDF by passing image as a parameter. But not working the same on XSL. Thanks for any Help Jai Post edited by: jairaj, at: 2007/11/24 04:20
  2. Thanks for the response. Could you please explain in detail,what is the problem with Csv?
  3. Hi, I have to generate a csv including an image(Pie chart) in it. While i am trying to view it with JasperViewer,the image is included. It is also generating in pdf. But while generating the csv,the image is not included. I am attaching code for your reference. I am also including the xml here. <parameter name="employeeChart" isForPrompting="false" class="java.awt.Image"/> <parameter name="question" class="java.lang.String"/> <detail> <band height = "100" isSplitAllowed="true"> <rectangle> <reportElement x="50" y="0" width="300" height="50" /> <graphicElement /> </rectangle> <textField isStretchWithOverflow="true" isBlankWhenNull="false" > <reportElement x="50" y="0" width="300" height="40" isPrintRepeatedValues="true" /> <textElement textAlignment="Center"> <font size="10" /> </textElement> <textFieldExpression class="java.lang.String"> <![CDATA[$P{question}]]> </textFieldExpression> </textField> </band> </detail> <summary> <band height = "400"> <image scaleImage="RetainShape" vAlign="Middle" hAlign="Center" isUsingCache="false" evaluationTime="Now" hyperlinkType="None"> <reportElement mode="Opaque" x="100" y="5" width="514" height="221" forecolor="#000000" backcolor="#FFFFFF" key="element-41" stretchType="NoStretch" positionType="FixRelativeToTop" isPrintRepeatedValues="true" isRemoveLineWhenBlank="false" isPrintInFirstWholeBand="false" isPrintWhenDetailOverflows="false"/> <graphicElement stretchType="NoStretch" pen="None" fill="Solid" /> <imageExpression class="java.awt.Image"><![CDATA[$P{employeeChart}]]></imageExpression> </image> </band> </summary> Thanks for any help. Jai [file name=generate_csv_image.txt size=1697]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/generate_csv_image.txt[/file]
  4. Hi , have you solved the issue? I have to generate PIE/BAR chart. Could you please help me to generate charts. If you Know any link useful,please reply. Also please include the updated code. Thanks in Advance. Jai
  5. Hi, can we generate Pie/Bar chart using JasperReport jar. Since i am not getting any related information from web. I am already using JasperReport for generating CSV and PDF. Do i need to add any jar like JFreeChart for generating this charts. I am submitting a lot of queries on Forum.But only getting a few replies. Thanks Jai
  6. Hi, Can i generate pie/Bar Chart with JasperReport. Can anyone suggest a related link. Thanks in Advance jai
  7. hi, I am generating a csv using JasperReport. But in the csv,the numeric values are arranged right to the column(passed as paramter) and text to left.After opening csv file generated selecting all the cells and convert it to text format the problem gets resolved.How can i do this programmattically Thanx Jai
  8. hi, how can we set a report element with hyperlink? I am setting jasperdesign programmattically. Thanx in Advance Jai Post edited by: jairaj, at: 2007/10/12 06:33
  9. Then how can i solve the problem while text included in the column is bigger than the column width. Is There any possibility to solve this issue with JasperReport.
  10. Hi, I am using JasperReport for Report Generation. I am using jasperreport 2.0.1 jar. while generating CSV,i coudnt set the columnwidth dynamically. Also i have to include the hyperlink property to the value populating in the report. I am attaching code used to set the jasperdesign and generate CSV. I have gone through a couple solutions provided in different forums. thanks in advance for your help [file name=csv_report_jasper-247c7b723f52c993461fc3d94fef88b5.txt size=24999]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/csv_report_jasper-247c7b723f52c993461fc3d94fef88b5.txt[/file]
  11. hi, Attached is the code for reference thanks jai [file name=csv_report_jasper.txt size=24999] Post edited by: jairaj, at: 2007/10/05 11:07
  12. HI, I am new to JasperReport. Defenetely its a versatile tool. I am setting the jasperdesign programmattically instead of using jrxml file. I have to go through a couple of issues while generating reports (PDF,xls,csv). Anyway now the pdf is almost generating without any issues. One thing i have to solve in generating pdf is to get the report in continuous pages. The headings will be the same and based on a value in databse it is itearting.But it is generating as individual files.i have to get them as a single file with continuous pages. Now the CSV is generating.But i couldnt set the column width.I have changed the setcolumnwidth method,but there is no change. Also in the csv i coudnt set the email with hyperlink option.i have set the hyper link tags in the jasperdesign.but its not wrking. In the xls report generation,the xls generating is distorted. Please help me to find solutions for these issues as early as possible. I have also attached the code used for setting jaspredesign and creating CSV. I am using Jasperreport 2.0.1version. Thanks Jai jaisha.b@gmail.com Post edited by: jairaj, at: 2007/10/05 11:02 Post edited by: jairaj, at: 2007/10/05 11:03 Post edited by: jairaj, at: 2007/10/05 11:03
×
×
  • Create New...