2005 IR Help
Members-
Posts
2,830 -
Joined
-
Last visited
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
2005 IR Help's Achievements
-
By: Gunny99 - gunny99 Setting a chart's range?? 2005-10-07 07:00 My report has several charts based upon a dataset of server performance monitors and each chart (e.g.: CPU utilization) has it's own range. I need to be able to set these to a fixed 0-100. Is it possible to manually set the range on a chart? By: bill - rx7haze RE: Setting a chart's range?? 2006-05-25 09:52 I too am trying to adjust the range on the value axis. If you do a search on this topic you'll notice there is never an answer for this question. Someone out there must know how to set this as I've seen plenty of samples that appear to have been modified. I'm assuming it can't be done in the GUI but there must be a way to modify the jrxml file. I don't know much about java programming but if you look at the JFreeChart API it looks possible. By: bill - rx7haze RE: Setting a chart's range?? 2006-05-26 14:17 I've lost track of how many hours I've spent trying to figure this out. It looks like setting the range is possible by using the Customizer class in the chart properties. I've seen it stated that this can open up the entire JFreeChart API to iReport. I found a sample of a customizer class located in the jasper reports download in the location jasperreports-1.2.2demosampleschartsbarchartcustomizer.java. This all makes sense to me but now I can't figure out how to reference the customizer class. I tried setting the classpath to reference the directory...that didn't work. I tried putting it in the lib directory of iReport...that didn't work. Finally I tried putting it in the same directory as the report...that didn't work. This is the only thing holding me back from using iReport as my total reporting solution. Thanks. By: bill - rx7haze RE: Setting a chart's range?? 2006-05-26 15:16 Forgot to post in previous message. Here's the error I get. Error filling print... java.lang.ClassNotFoundException: BarChartCustomizer at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at net.sf.jasperreports.engine.util.JRClassLoader.loadClassForName(JRClassLoader.java:90) at net.sf.jasperreports.engine.fill.JRFillChart.<init>(JRFillChart.java:260) at net.sf.jasperreports.engine.fill.JRFillObjectFactory.getChart(JRFillObjectFactory.java:551) at net.sf.jasperreports.engine.base.JRBaseChart.getCopy(JRBaseChart.java:470) at net.sf.jasperreports.engine.fill.JRFillElementGroup.<init>(JRFillElementGroup.java:88) at net.sf.jasperreports.engine.fill.JRFillElementContainer.<init>(JRFillElementContainer.java:88) at net.sf.jasperreports.engine.fill.JRFillBand.<init>(JRFillBand.java:77) at net.sf.jasperreports.engine.fill.JRFillObjectFactory.getBand(JRFillObjectFactory.java:374) at net.sf.jasperreports.engine.fill.JRFillGroup.<init>(JRFillGroup.java:76) at net.sf.jasperreports.engine.fill.JRFillObjectFactory.getGroup(JRFillObjectFactory.java:353) at net.sf.jasperreports.engine.fill.JRFillVariable.<init>(JRFillVariable.java:83) at net.sf.jasperreports.engine.fill.JRFillObjectFactory.getVariable(JRFillObjectFactory.java:333) at net.sf.jasperreports.engine.fill.JRFillDataset.addVariable(JRFillDataset.java:275) at net.sf.jasperreports.engine.fill.JRFillDataset.setVariables(JRFillDataset.java:265) at net.sf.jasperreports.engine.fill.JRFillDataset.<init>(JRFillDataset.java:219) at net.sf.jasperreports.engine.fill.JRFillObjectFactory.getDataset(JRFillObjectFactory.java:1032) at net.sf.jasperreports.engine.fill.JRBaseFiller.<init>(JRBaseFiller.java:374) at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:92) at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:74) at net.sf.jasperreports.engine.fill.JRFiller.createFiller(JRFiller.java:147) at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:83) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:601) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:517) at it.businesslogic.ireport.IReportCompiler.run(IReportCompiler.java:653) at java.lang.Thread.run(Unknown Source) NESTED BY : java.lang.ClassNotFoundException: BarChartCustomizer at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at net.sf.jasperreports.engine.util.JRClassLoader.loadClassForName(JRClassLoader.java:90) at net.sf.jasperreports.engine.fill.JRFillChart.<init>(JRFillChart.java:260) at net.sf.jasperreports.engine.fill.JRFillObjectFactory.getChart(JRFillObjectFactory.java:551) at net.sf.jasperreports.engine.base.JRBaseChart.getCopy(JRBaseChart.java:470) at net.sf.jasperreports.engine.fill.JRFillElementGroup.<init>(JRFillElementGroup.java:88) at net.sf.jasperreports.engine.fill.JRFillElementContainer.<init>(JRFillElementContainer.java:88) at net.sf.jasperreports.engine.fill.JRFillBand.<init>(JRFillBand.java:77) at net.sf.jasperreports.engine.fill.JRFillObjectFactory.getBand(JRFillObjectFactory.java:374) at net.sf.jasperreports.engine.fill.JRFillGroup.<init>(JRFillGroup.java:76) at net.sf.jasperreports.engine.fill.JRFillObjectFactory.getGroup(JRFillObjectFactory.java:353) at net.sf.jasperreports.engine.fill.JRFillVariable.<init>(JRFillVariable.java:83) at net.sf.jasperreports.engine.fill.JRFillObjectFactory.getVariable(JRFillObjectFactory.java:333) at net.sf.jasperreports.engine.fill.JRFillDataset.addVariable(JRFillDataset.java:275) at net.sf.jasperreports.engine.fill.JRFillDataset.setVariables(JRFillDataset.java:265) at net.sf.jasperreports.engine.fill.JRFillDataset.<init>(JRFillDataset.java:219) at net.sf.jasperreports.engine.fill.JRFillObjectFactory.getDataset(JRFillObjectFactory.java:1032) at net.sf.jasperreports.engine.fill.JRBaseFiller.<init>(JRBaseFiller.java:374) at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:92) at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:74) at net.sf.jasperreports.engine.fill.JRFiller.createFiller(JRFiller.java:147) at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:83) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:601) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:517) at it.businesslogic.ireport.IReportCompiler.run(IReportCompiler.java:653) at java.lang.Thread.run(Unknown Source) NESTED BY : net.sf.jasperreports.engine.JRRuntimeException: Could not create chart customizer instance. at net.sf.jasperreports.engine.fill.JRFillChart.<init>(JRFillChart.java:263) at net.sf.jasperreports.engine.fill.JRFillObjectFactory.getChart(JRFillObjectFactory.java:551) at net.sf.jasperreports.engine.base.JRBaseChart.getCopy(JRBaseChart.java:470) at net.sf.jasperreports.engine.fill.JRFillElementGroup.<init>(JRFillElementGroup.java:88) at net.sf.jasperreports.engine.fill.JRFillElementContainer.<init>(JRFillElementContainer.java:88) at net.sf.jasperreports.engine.fill.JRFillBand.<init>(JRFillBand.java:77) at net.sf.jasperreports.engine.fill.JRFillObjectFactory.getBand(JRFillObjectFactory.java:374) at net.sf.jasperreports.engine.fill.JRFillGroup.<init>(JRFillGroup.java:76) at net.sf.jasperreports.engine.fill.JRFillObjectFactory.getGroup(JRFillObjectFactory.java:353) at net.sf.jasperreports.engine.fill.JRFillVariable.<init>(JRFillVariable.java:83) at net.sf.jasperreports.engine.fill.JRFillObjectFactory.getVariable(JRFillObjectFactory.java:333) at net.sf.jasperreports.engine.fill.JRFillDataset.addVariable(JRFillDataset.java:275) at net.sf.jasperreports.engine.fill.JRFillDataset.setVariables(JRFillDataset.java:265) at net.sf.jasperreports.engine.fill.JRFillDataset.<init>(JRFillDataset.java:219) at net.sf.jasperreports.engine.fill.JRFillObjectFactory.getDataset(JRFillObjectFactory.java:1032) at net.sf.jasperreports.engine.fill.JRBaseFiller.<init>(JRBaseFiller.java:374) at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:92) at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:74) at net.sf.jasperreports.engine.fill.JRFiller.createFiller(JRFiller.java:147) at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:83) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:601) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:517) at it.businesslogic.ireport.IReportCompiler.run(IReportCompiler.java:653) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.ClassNotFoundException: BarChartCustomizer at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at net.sf.jasperreports.engine.util.JRClassLoader.loadClassForName(JRClassLoader.java:90) at net.sf.jasperreports.engine.fill.JRFillChart.<init>(JRFillChart.java:260) ... 23 more Print not filled. Try to use an EmptyDataSource...! By: Fek - fekmfg RE: Setting a chart's range?? 2006-05-12 07:03 Hi, I have the same problem I need to set the x axis from 0 to 24. Is there no possibility to configure the axis? Greetings Fek By: Marcelo Fernandes - mcf-rocha RE: Setting a chart's range?? 2006-05-29 08:46 Hi all! I want to do the same thing. Have you found the solution? I know how to do it in JasperReport but not in iReport: final JFreeChart chart = ChartFactory.createBarChart3D( "Graph name", // chart title "Domain name", // domain axis label "Range name", // range axis label dataset, // data PlotOrientation.HORIZONTAL, // orientation true, // include legend true, // tooltips false // urls ); final CategoryPlot plot = chart.getCategoryPlot(); NumberAxis rangeAxis = (NumberAxis) plot.getRangeAxis(); rangeAxis.setStandardTickUnits(NumberAxis.createIntegerTickUnits()); //Now we set the range, for exemple: from 0 to 5 rangeAxis.setRangeWithMargins(0,5); Thanks in advance, Marcelo By: bill - rx7haze RE: Setting a chart's range?? 2006-05-30 06:17 Someone out there must know how to use the customizer class. Please help. Thanks.
-
By: Paul - pxp777 How to design and run report that contain 2 p 2005-10-17 01:52 Hi! How to design report template that contains two or more different pages in JasperReport. Those pages can contain plain text (as an example some contract) with a few parameters on any page. Can I use something like iReport? Sincerely, Paul By: mjp - mjplaine RE: How to design and run report that contain 2 p 2006-05-24 01:49 Paul, Did you find a solution to this question? Thanks Marie-Jo By: Martyn - martyn-hi-ss-nl RE: How to design and run report that contain 2006-05-24 13:06 What do you mean by two different pages. If you want 2 different pages you need to design 2 different reports. If you are more specific what you want I can indicate if iReport is something for you.
-
By: Daniel Gaspary - dgaspary TextField + Parameter + Style - Howto ?? 2005-09-25 20:10 Hi, I have the following problem: I have a TextField and I need to show a text with a Param. The problem is ... the param need to have the bold style. Textfield Expression is something like: "Normal text" + <style isBold="true">$P{param1}</style> How can I do that ? By: Daniel Gaspary - dgaspary RE: TextField + Parameter + Style - SOLVE 2005-09-26 18:05 The solution was in the jasperReports StyledText sample: "Normal text <style isBold="true">" + $P{param1} + "</style> normal text again." By: Diogo Oliveira - diogosales RE: TextField + Parameter + Style 2006-05-22 10:42 Thanks, that saved me a lot of precious time ;)
-
By: Scott Carr - kevinscarr Compiling Report... Never completes 2005-01-25 14:22 I have a message in the Active Threads that states Compiling Report, but it never does anything. I don't see any output show in the directory. Is there something I am missing? PS This occurs after I press the Compile Report button... ;-) By: Giulio Toffoli - gt78 RE: Compiling Report... Never completes 2005-01-26 11:13 iR 0.4.1 supports all kind of java compilers and can solve the problem. iR 0.4.1 will be out in 2/3 days. Please note that you can have a loop. Check that bands are not too height. giulio By: N Olding - oldingn RE: Compiling Report... Never completes 2006-04-17 15:20 I am using iReport 1.2.1 on Sun Java 1.5.0_06 and I have this problem too. What does 'check that bands are not too high' mean? Are there specific maximum values for each band? Thanks, By: N Olding - oldingn RE: Compiling Report... Never completes 2006-04-17 21:30 Oops, Windows 2000 w/latest patches, I forgot to mention. By: N Olding - oldingn RE: Compiling Report... Never completes 2006-04-19 09:16 ... and the word 'Solid' appears three times, on separate lines, on the MS-DOS window running iReport. It turns out that the comiple does finish, with a compilation time of 2,880,000. By: N Olding - oldingn RE: Compiling Report... Never completes 2006-04-19 10:20 A fix! Delete all versions of Java runtime and JDK, and reinstall Java and iReport. The same report now has a compilation time of 281. This is 10,000 times better.
-
By: andersons - andersons Barcode Full ASCII character set 2005-12-23 09:30 I am producing 3of9 barcodes that need the full ascii character set. I receive the error of java.lang.RuntimeException: Illegal character - try using extended mode if you need to encode the full ASCII character set at it.businesslogic.ireport.barcode.BcImage.getBarcodeImage().I know that there is an option to do so with barbecue. I was wondering if anyone knew how to set this with iReport or even within the XML code. Thanks in advance. Susan By: Rob Karatzas - tutor RE: Barcode Full ASCII character set 2006-04-18 07:47 having the same issue (with v1.2) Susan did you ever find a solution for this? thanks rob By: Rob Karatzas - tutor RE: Barcode Full ASCII character set 2006-04-18 07:57 the 'real' issue is having unsupported characters (in my case, these were lowercase characters). my solution was just to uppercase the inbound data field. rob
-
By: Lars Hammer - thegrudge Time Series Chart -a little help needed 2005-12-05 02:55 Hello I am struggling to get a TimeSeries Chart running in iReport. I have an SQL-query which returns a long list of timestamps in milis (long). Now, the problems is, when i look at the Chart Data Details page in iReport, I'm requested to fill out "Series expression", "Time Period expression" and "Value expression" and I can't figure out what to put in these fields. I've read the devx.com article on ireport/jasperreport and I have successfully created both pie and bar charts, but the TimeSeries chart is killing me. The manual says nothing hereof :-( I've been messing around with Report Series, but I cannot seem to get it quite right. If anyone could provide some hints on creating TimeSeries charts, that would be really helpful. Thanks in advance! /Lars Hammer By: Alan O'Leary - aloleary RE: Time Series Chart -a little help needed 2006-04-11 04:33 Here here... cannot find any help on this either... a little frustrated... one example of this would help a lot of people !! (including those of us who have paid for the manual !) By: MaGaM - maganz RE: Time Series Chart -a little help needed 2006-04-17 03:34 Hello fellow iReport users. Last week I started using the Time Series Charts in iReport. At first I was baffled at how to get data into these charts. But after playing around for a while I finally got to it. I'm sorry, I don't have the time to write a detailed description of my actions as to get these charts 'running'. I actually figured it out by looking at the time series chart examples which are in the jasperreports 1.2.0 package, if my memory is correct. Hope this will be of help to both of you! Bye, Mario
-
By: MussMan - mussman variable field in a barcode? 2005-12-28 10:32 I'm relatively new to iReport and Jasper. I'm creating a document that needs to convert an integer field to a barcode and print out on the report. When I design the report without the barcode, everything works just fine. But I can't figure out how to add the barcode in a way that will let me use a variable field for the barcode. It will put a fixed numerical value in the barcode, but that doesn't do me any good. Is it possible to use a field to generate the barcode in iReport? Or will I have to code it in XML? Thanks. By: Hendry - hendrykho RE: variable field in a barcode? 2006-04-12 04:31 Hi, Could you tell me what is application identifier for?
-
By: antobuccia - antobuccia show problem in pdf 2005-07-29 06:04 why the pdf preview in IReport does work ok, but when I use the same report and show it in pdf in another server, pdf cut some fields? It depends on the system set-up or exists some parameters in IReport to use for avoid these kind of probles? thank-u By: -JE- - julegner RE: show problem in pdf 2006-04-03 08:26 We have the same problem, and i think it happens when there is no arial font on the server. Then the server uses the font given as pdf-font, which can be bigger, if so, the text is sometimes to big for the textfield. So try and put arial on the server.
-
By: roshansalvi - roshansalvi How to pass a collection of Java object. 2005-03-27 23:30 I am using iReport. i want to pass collection of Java object to iReport so that it can print all the data. how should i pass the collection of java object and how should i print them.. Please help me out... thanks in advance By: xpert - jcox00 RE: How to pass a collection of Java object. 2005-03-28 12:40 As in the object that you're passing to the report is of the type java.util.Collection? Are you passing it in as a parameter or field from a custom data source? By: Diogo Oliveira - diogosales RE: How to pass a collection of Java object. 2006-04-03 04:32 Hi I have exacly the same issue so I'll post it here. And yes, as for me, I'm passing a java.util.Collection from my own CustomDataSource. Inside the collection I have a small number of object of a custom type I developed. This object has something like a string and two integer fields. How can I generate a variable-size list of all the objects in my collection? Thanks. By: Diogo Oliveira - diogosales RE: How to pass a collection of Java object. 2006-04-03 06:18 Also I have a getter for it (it's in a java bean) but it's not static and the collection varies with a given argument (actually, a bean attrribute). So this is impossible using bean data source, right?
-
By: Alceu Rodrigues de Freitas Jr. - glasswalk3r using variables to calculate subtotals 2005-05-30 08:27 Hello, I have a report that should show data like the example below: Group 1 ---- Amount Unit value Total Value ------------------------------- 3 10 30 4 10 40 Subtotal: 70 Group 2 Amount Unit value Total Value ------------------------------- 4 10 40 5 10 50 Subtotal: 90 The problem is that I inserted all the data in the "Detail" group, including the "Subtotal" line. I used a variable to calculate the subtotal: Variable name: subtotal Reset Type: Report Calculation Type: Sum Variable Expression: $F{total_value} Initial Value Expression: new Double(0) The variable is not being "reseted" to zero as I would like. I tried to use another types of "Reset Type" but it is not working. Everytime I execute the report, I get the first "Subtotal" ok, but the next one will be the previous value plus the next values. The final result is this: Group 1 ---- Amount Unit value Total Value ------------------------------- 3 10 30 4 10 40 Subtotal: 70 Group 2 ---- Amount Unit value Total Value ------------------------------- 4 10 40 5 10 50 Subtotal: 160 There is any way to implement that in iReport? How should I do it? Thanks in advance By: Giulio Toffoli - gt78 RE: using variables to calculate subtotals 2005-05-31 00:43 ResetType: Group ResetGroup: Your group name Giulio By: GSantos - gureba RE: using variables to calculate subtotals 2006-03-28 13:15 How to calculate a percentage of each detail in a subtotal, and the similar of each subtotal, example: Product Qty Part% A 25 83,3% B 5 16,7% SubTotal 30 33,3% C 30 50,0% D 30 50,0% SubTotal 60 66,7% Total 90 How can we implement this calculation? We tried to use different variables, with different evaluation times, but it didn´t works. Thanks, Gustavo Santos
-
By: CHL2004 - chl2004 Does the Option in iReport work? 2005-02-08 12:31 When I make changes to the options (under Option menu) that are supposed to affect new documents, like defaulting values to pixel instead of cm, it doesn't seem make any difference. Same thing happen when I set a default template to be used in a new document. Does anybody have this problem? By: frblusso - frblusso RE: Does the Option in iReport work? 2006-03-24 08:23 Nobody has replied to that question, and today, i discover the same problem with the option 'default template', with ireport1.2.0. is anyone has an idea?
-
By: Ionut Nedelcu - ionutned Deleting a report band in iReport 2005-03-28 05:09 I tried to delete a band using iReport, but it is impossible. I also tried to delete it manually from the xml file, but when I load the design in iReport, it just adds it back. Is it a bug or a feature?:) By: Remo Fritzsche - remofritzsche RE: Deleting a report band in iReport 2006-03-23 01:06 simply set the band hight (right-click -> band properties) to 0 and after changing the height of the band click into the textbox to confirm it...otherwise it won't be saved. good luck
-
By: Theodore Watson - tedw_esc Barcodes not appearing in JSP, no exceptions 2005-11-23 12:29 I'm using JasperReports 1.1.0 with iReports 0.5.2 to render html reports using a servlet. The ImageServlet from JasperReports is not returning barcode images. I included it.businesslogic.ireport.barcode.BcImage and barbeque-1.1.jar. Unfortuantely, no exceptions are being thrown. The only image coming out of ImageServlet is the px image. Barcodes are rendering correctly in PDFs. Does anyone know what I'm missing? Thanks, Ted Watson By: Hendry - hendrykho RE: Barcodes not appearing in JSP, no exceptions 2006-02-28 04:03 Hi, I am sorry because i am not answering your question. I have problem in rendering barcode in PDF's. I have got exception below net.sf.jasperreports.engine.fill.JRExpressionEval Exception: Error evaluating expression : image_2 Source text : it.businesslogic.ireport.barcode.BcImage.getBarcodeImage(2 ,$P{IMEI},true,false) Could you tell me what do I miss? I have included the iReport.jar. Please help me. Thanks.
-
By: Shammi Hettiarachchi - shammif2 how to print a report 2005-12-16 04:21 how to print report directly without previewing it.. By: Remo Fritzsche - remofritzsche RE: how to print a report 2006-02-16 06:04 you can turn the output directly into a directory without viewing it. if you start the report with a servlet, you can print the saved pdf directly with the servlet. after that you could remove it.