aniruddh4u
-
Posts
21 -
Joined
-
Last visited
Content Type
Profiles
Forum
Events
Featured Visualizations
Knowledge Base
Documentation (PDF Downloads)
Blog
Documentation (Test Area)
Documentation
Dr. Jaspersoft Webinar Series
Downloads
Posts posted by aniruddh4u
-
-
Are you sure.... you put all fields in detail band
-- Aniruddh
-
Check wheather you have all jasper jar files in your lib folder.
--- Aniruddh
-
-
Hi,,
You can't change query dynamically like
for condition1 .... QueryA or condition2...QueryB
but yes ireport 1.3.1 support u writing filter expression for query in this you can write expression
-- Aniruddh
-
Hi,,
You can use JavaBean DataSource ..one of field will return list which you can passto subreport to view data..
-- Aniruddh
-
i guess it can be a final solution .. cause we hv report inventory project running for a investment bank firm but never got deadlock on production environment...
----Aniruddh
-
Hi..
Even Loading and Compilation task as well as Report Design task you can do mannually using tools like iReport....
aniruddh
-
Hi,
I developer report using ireport on chart control i'm set some properties for tooltip...
I'm in using timeseries chart ... so while configuring series information i'm also configuring it for tooltip.
After saving file when i'm reopening same jrxml again.... i can't see tooltip configuration information but rest of my work i can see.... Can any1 tell me is it bug in iReport?
---Aniruddh
-
Hi can you place to code how your generating report from java
like there are 2-3 different approach of creating report from jrxml..
1. JasperPrint jasperPrint = new JasperPrint();
Connection conn = null;
Map inputParameters = new HashMap();
inputParameters.put("sometitle","first report");
conn = your database connection you get from your driver (using jt400)
JasperReport jasperReport = JasperCompileManager.compileReport("input.jrxml");
jasperPrint = JasperFillManager.fillReport(jasperReport,
inputParameters, conn);
// for a pdf
JasperExportManager.exportReportToPdfFile(jasperPrint, outputFile.pdf);
or
2. String path = request.getRealPath("jasper");
path = path + "/AgingReportForCoverageArea.jasper";
HashMap map = new HashMap();
JasperPrint jasperPrint = JasperFillManager.fillReport(path, map, connectDB());
//Block to check viewer selected
String viewer = request.getParameter("viewType");
if(viewer.equalsIgnoreCase("0")){
// Open report in HTML
response.setContentType("text/html");
JRHtmlExporter exporter = new JRHtmlExporter();
exporter = new JRHtmlExporter();
exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint);
exporter.setParameter(JRExporterParameter.OUTPUT_WRITER,response.getWriter());
request.getSession().setAttribute(
ImageServlet.DEFAULT_JASPER_PRINT_SESSION_ATTRIBUTE,jasperPrint);
exporter.setParameter(JRHtmlExporterParameter.IMAGES_MAP, new HashMap());
exporter.setParameter(JRHtmlExporterParameter.IMAGES_URI,request.getContextPath() + "/images?image=");
// In This "images" is name of folder which contain images
exporter.setParameter(JRHtmlExporterParameter.IMAGES_DIR_NAME,request.getRealPath("images"));
exporter.setParameter(JRHtmlExporterParameter.IS_OUTPUT_IMAGES_TO_DIR,true);
exporter.setParameter(JRHtmlExporterParameter.IS_WHITE_PAGE_BACKGROUND,true);
exporter.exportReport();
}else{
// Open report in PDF
response.setContentType("application/pdf");
JRPdfExporter exporter = new JRPdfExporter();
exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint);
exporter.setParameter(JRExporterParameter.OUTPUT_STREAM,response.getOutputStream());
exporter.exportReport();
}
cause compiling jrxml in java code itself every time when running report might use you memory and make ur application slow
-
instead of
new Boolean(!$V{SubrptCount}.intValue() == 0)
use
new Boolean($V{SubrptCount}.intValue() != 0)
-- Aniruddh
-
Hi,
I got solution to this problem now for each series i can show tooltip as well as external link using ireport tooltip facility but its working only for HTML not for PDF can any1 tried tooltip for pdf report
-
Can any1 tell me how to generate tooltip and achor for each series of time series chart and bar chart ?
thanks in advance...
Aniruddh
-
"Equipment: " + $F{EQ_EQUIP_NO} + "Year" + $F{YEAR}
make sure that EQ_EQUIP_NO and YEAR fields are of type java.lang.String.....
...Aniruddh
-
can u tell what u hv written in printwhen expression ?
---Aniruddh
-
make other band size as 0 or if u are priting something else in your detail band apart from report ... then make u r graph report as subreport and call it from main report ..so that in subreport all u r band's will be 0 and only summary will contain graph
-
hi...
In i report under under Options menu u'll find Settings menu...click on that and set viewer
-
put u r graph component in summary band and not in detail band
---- Aniruddha
-
http://www.devx.com/Java/Article/29309/0/page/1
i guess this link will tell u how to execute jasper report from java code
---- Aniruddh
-
Hi,
Can anyone tell me how to write customizer class for time series chart and which type of render needs to be used ?
thanks,
Aniruddh
-
hi,
I'm developing time serise chart but my Y axies every time print data in java.lang.Number as 1.0 2.5 i want it in number format like 1,2,.... Please tell me solution
jexcel error
in Products
Posted
http://developers.sun.com/jscreator/learning/tutorials/2/reports.html
this will help you