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

panlj2004

Members
  • Posts

    19
  • Joined

  • Last visited

panlj2004's Achievements

Apprentice

Apprentice (3/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Collaborator Rare

Recent Badges

0

Reputation

  1. Hello TedSheng, the jar download from internet. could you please send the jar with .clasee to me? or tell me how to create the .class file? my email: panlj2004@hotmail.com Kelly
  2. Hello All, I am using TIBCO Jaspersoft Studio-6.1.0.final I have created a customizer class , in fact, I don't the cteared customizer class is correct or not . But while running the report, error message 'Customizer class not found error' reported. the details error info as below: net.sf.jasperreports.engine.JRRuntimeException: Could not create chart customizer instance. at net.sf.jasperreports.engine.fill.JRFillChart.<init>(JRFillChart.java:306) at net.sf.jasperreports.engine.fill.JRFillObjectFactory.visitChart(JRFillObjectFactory.java:718) at net.sf.jasperreports.engine.base.JRBaseChart.visit(JRBaseChart.java:642) at net.sf.jasperreports.engine.JRAbstractObjectFactory.getVisitResult(JRAbstractObjectFactory.java:88) at net.sf.jasperreports.engine.fill.JRFillElementGroup.<init>(JRFillElementGroup.java:82) at net.sf.jasperreports.engine.fill.JRFillElementContainer.<init>(JRFillElementContainer.java:89) at net.sf.jasperreports.engine.fill.JRFillBand.<init>(JRFillBand.java:91) at net.sf.jasperreports.engine.fill.JRFillObjectFactory.getBand(JRFillObjectFactory.java:521) at net.sf.jasperreports.engine.fill.JRFillSection.<init>(JRFillSection.java:74) at net.sf.jasperreports.engine.fill.JRFillObjectFactory.getSection(JRFillObjectFactory.java:497) at net.sf.jasperreports.engine.fill.JRBaseFiller.<init>(JRBaseFiller.java:282) at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:72) at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:60) at net.sf.jasperreports.engine.fill.JRFiller.createBandReportFiller(JRFiller.java:201) at net.sf.jasperreports.engine.fill.JRFiller.createReportFiller(JRFiller.java:216) at net.sf.jasperreports.engine.fill.BaseFillHandle.<init>(BaseFillHandle.java:74) at net.sf.jasperreports.engine.fill.AsynchronousFillHandle.<init>(AsynchronousFillHandle.java:97) at net.sf.jasperreports.engine.fill.AsynchronousFillHandle.<init>(AsynchronousFillHandle.java:86) at net.sf.jasperreports.engine.fill.AsynchronousFillHandle.createHandle(AsynchronousFillHandle.java:188) at com.jaspersoft.studio.editor.preview.view.control.ReportControler$5.run(ReportControler.java:359) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: java.lang.ClassNotFoundException: com.sun.media.customizer.Customizer at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at net.sf.jasperreports.engine.util.JRClassLoader.loadClassForRealName(JRClassLoader.java:174) at net.sf.jasperreports.engine.util.JRClassLoader.loadClassForName(JRClassLoader.java:114) at net.sf.jasperreports.engine.fill.JRFillChart.<init>(JRFillChart.java:303) ... 20 more
  3. Hi andysusanto, the problem solved ? I got same message with "Could not create chart customizer instance." could you please share something for me? Kelly pan
  4. Hi djohnson53, I read the doc that you attached link, but it still not clear for me. 1.Implementation of a Chart Customizer Class Should I create the following class? import net.sf.jasperreports.engine.JRChart; import net.sf.jasperreports.engine.JRChartCustomizer; ......... rangeAxis.setTickMarkOutsideLength(2.5f); } } 2. How to create a class? 3. There are some guide in Jaspersoft-Studio-User-Guide.pdf where should I write this passage net.sf.jasperreports.engine.JRChartCustomizer Currently, JasperReports Server takes advantage of only a small portion of the capabilities of the JFreeChart library. To customize a graph, you must write a class that implements the following interface: net.sf.jasperreports.engine.JRChartCustomizer The only method available from this interface is the following: public void customize(JFreeChart chart, JRChart jasperChart); It takes a JFreeChart object and a JRChart object as its arguments. The first object is used to actually produce the image, while the second contains all the features you specify during the design phase that are relevant to the customize method. waiting for your reply, thank you Kelly pan
  5. thank you, hozawa, I want to set a group definition for my head,content,footer and so on. do you any better solution? I seen some one montioned "resource file", but I don't know how to added
  6. Hello, I want to add css into my jasper report, Please suggest me the solution. I already added a css file in theme of jasper server, but it looks like a web view,It doesn't have anything to do with the report. I searched several similar question in the past, however, there is no a definite answer. If you could give an examle/link, I'll appreciate that. Kelly pan
  7. Hello Hozawa, I added a parameter "ProductFamily" into parameters, the link is working. but the report is null (only displayed a title) as missing parameter. how can I pass the parameters from mian report to link report. as they have same parameters. Thank you in advance Kelly
  8. Hello Hozawa, yes, I'm using Jaspersoft Studio, and this is simple hyperlink case, I want to study the case to familiar the hyperlink function. in above case I have the a text field, want to add a link into the text field. I tried you solution : and drag & drop the report from the Report Exporer on to the text field. But no any change in hyperlink cascading. In jaspersoft server, without any link for the text field. please help again. Kelly
  9. Thank you hozawa for quick answer, could you please give me more details for create the customizer ?
  10. Hello All, I would like to create Hyperlink in report. I set the Hyperlink Type as Reference and in the Hyperlink Reference Expression give the WEB URL . the WEB URL can be opened in jaspersoft server. but when link a exist report or a jpg, only opened a blank windown. I'm new, anyone can help me, thanks Kelly
  11. Dear All, I have a bar char in my report, I help the value showed inside the column, like below: New, the values was Please help, thanks Kelly
  12. Hello hozawa, I found the "input control" in JasperReports Server, and the simple drop-down is working. now, I'm research the situation: when choice 1st drop-down, the 2nd drop-down will seleced related recorde. can you help me for this? thanks a lot Kelly
  13. Thank you Hozawa, the data format of the database is "int", the class I used "java.lang.String" , "java.lang.Integer" I also used, but the spool data still wrong. I used same way to set the parameter for bar char, it is correct, but for table, it is wrong, it is strange Kelly
×
×
  • Create New...