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

ag201

Members
  • Posts

    23
  • 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

Everything posted by ag201

  1. guys, i have a textfield which is displaying the value of a variable. this variable contains for example, (text1='hello') AND (text2='world') now i need to only display the values. i mean i need to display hello,world. so i have put a text field expression, $P{fstring}.split("-")[1] which picks up hello and i have $P{fstring}.split("-")[2] which picks up world separately. i need to somehow put them together so that it picks up both at the same time and displays just the values separated by commas in one text field. can somebody guide me in this. thanks.
  2. am getting the same problem. everytime I save my report using iReports, it generates a file and overtime it just clutters my folder, which then I have to manually cleanup. if anybody can provide a fix to this, it would be great.
  3. Thanks, I appreciate it. As long as I know that its not possible, its fine.
  4. guys, when i am producing a PDF report, i am frequently getting this error, JRException occurred net.sf.jasperreports.engine.JRException: The report filling thread was interrupted. just to add, this is my tomcat log message, net.sf.jasperreports.engine.JRException: The report filling thread was interrupted. at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:67) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:402) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:234) at net.sf.jasperreports.engine.JasperRunManager.runReportToPdf(JasperRunManager.java:203) if i wait for a few seconds or in some instances restart tomcat, it works back again. but i am unable to find the source of this problem. i have a event driven app, but i cant see any events coming when the report is being generated, so am not sure what the problem is. can somebody help. thanks. Post edited by: ag201, at: 2007/04/04 05:53
  5. rotate your graph so that its vertical and not horizontal, that will give the labels some more space.
  6. can you share your solution. i dont think there is a way around PDF as its a static page.
  7. no mate. not yet. have been working on it for some time now, but cant a way around it. can you help.
  8. guys, i have this bar graph, and it displays the label values of the individual bars within the bar itself. now if all the bars within the graph are not within the same range and hence dont scale well, the label value number is not displayed within the bar. so is there a way for me to display the label values on top of the bar graph, so that irrespective the size of the bar, the values will always show up. please help. thanks.
  9. guys, sorry am posting it again here, i have posted this already by mistake in the ireport section. sometimes when my jasper report takes a while to generate, i get the following error, net.sf.jasperreports.engine.JRException: The report filling thread was interrupted. looking at my logs, I have noticed that I usually get an event just before the report fails with the above exception. what is the work around this. has anybody experienced this too. please help. thanks.
  10. guys, sometimes when my jasper report takes a while to generate, i get the following error, net.sf.jasperreports.engine.JRException: The report filling thread was interrupted. looking at my logs, I have noticed that I usually get an event just before the report fails with the above exception. what is the work around this. has anybody experienced this too. please help. thanks.
  11. guys, i have implemented alternate row colours within my jasper report and its all working fine. but my problem is that if there is an entry which flows on to the next page from the previous page, such that half of it is on the previous page and the rest on the next one, then only the previous page entry contains the background colour and the next page left over entry does not contain the background colour (so its half coloured). i have selected stretch type relative to band height and it still doesnt work. does anybody know why is this happening. thanks.
  12. guys, i have this implementation, when the user clicks on a show report button, a PDF report is generated and the user is able to view it internally within the IE browser using the PDF viewer. now when the user clicks on save a copy on the adobe toolbar, it always saves the report as app.pdf. can i set up my report in such a way, that when the user clicks on save a copy, a meaningfull name shows up. i have this so far, response.setHeader ("Content-Disposition", "inline;filename="pdf-" + getCurrentTime() + ".pdf""); but this doesnt help me set the name. any help guys. thanks.
  13. guys, i have this wierd problem, when i use the stacked bar graph if i have only one entry then the one bar becomes very wide and occupies the entire width of the graph and looks funny. and if i use the normal bar graph, then if i have only one entry then the one bar becomes very thin and it occupies very less space and is very very thin as compared to the rest of the width of the report. so my question is, is there a graph which displays a reasonably thin bar when there is only one entry, and automatically resizes for multiple entries. thanks.
  14. guys, in a time series graph is it possible to change the format of the graph lines, i mean make them dashes or any other format. in my graph some of my lines overlap each other and i lose track of the underlying line, so i was thinking if i could have them in different formats, they might be visible. any ideas. thanks.
  15. guys, in a time series report, for every single data point (dot that is) how can i display its exact value. in my graph in most of the cases the data point is inbetween the range and hence the user to sort of guess its exact value. in some other reports, i can display the exact value of the data point, how can i do something similar in a time series report. thanks.
  16. guys, in a time series report, most of the time my data points are not exact. what i mean is that on the y axis it might say 10-20-30... and my data point might be 17, so the point shows up in between 10 and 20. but i wanted to display 17 right next to the data point so that the user knows whats the exact value. in other reports i can add a label, but for this one, how should i display the exact value of the data point. please help. thanks.
  17. guys, in a graph, is there a way to keep the graph horizontal but to turn the corresponding category axis text to vertical shape. i mean if i have too many bars, if i turn the text it will all fit in and otherwise not. pls help. thanks.
  18. guys, i have this bar graph which is beginning to contain too many bars, i mean i have too much information to present in a bar graph on one page. i was wondering is there a way for me to specify how many bars (lines) can show up in a graph on one page and then the rest can be in the following pages. currently i am getting only a page graph report, so is there a way to break it up into multiple pages to spread out the graph. thanks.
  19. guys, i have generated a time-series graph with just one line in the graph. but now i want to generate a graph which has 2 or 3 lines in them, you know like in cricket matches, they show you the comparison of two teams at certain overs in different colours. so would something like that be possible in jasper, or would i need to break up the report into 2 parts. please help. thanks.
  20. guys, i have a jasper report, which contains a sql query. now this query sometimes returns 5 records and sometimes 50. i want to display this "number of records" within my report. so i guess my question is how can i display it. now this report is not a straight off count of the number of records in a table, but the user has the ability to add a filter to this report, so the "number of records" is based on the users filter and not the total number of records in a table. so essentially i need to count the number of records returned based on their selection and display that figure. any help guys. thanks.
  21. guys let me back up ok. my sql query returns a field which is a boolean in the DB. so now i create a field in my report with type string and right click on it select properties, use this as the print expression, $F{is_loggedin}.booleanValue() == true ? "Yes" : "No" for it. now when i go under view->fields, under that i have is_loggedin as string too. now sometimes i am getting the error saying that booleanValue is not the right function for a string and sometimes i am getting cannot cast from string to boolean. i have done this in the past, but now am totally stuck. any help guys.
  22. doesnt work for me. i am getting a bunch of errors. net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file: 1. The method booleanValue() is undefined for the type String value = (java.lang.Boolean)(((java.lang.String)field_can_centrifuge.getValue()).booleanValue()==true ? "yes" : "no"); <----------> <-----------------------------------------------------> any ideas?
  23. hi guys, i have this boolean value field, which i want to display as Yes or No, instead of true or false respectively. Can somebody tell me how i can do this. thanks.
×
×
  • Create New...