version « Development « JFreeChart Q&A





1. setDisplaySeriesShapes in version 1.0 ?    jfree.org

The charts now use the LegendTitle class to display legends (by default). This class will obtain the legend items from the renderer, and this should return shapes if the renderer is using them. There are some bugs still being shaken out of this code, you might want to try the latest CVS.

2. Problem with different version of JFreeChart    jfree.org

javax.servlet.ServletException: org/jfree/data/general/PieDataset org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:825) org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:758) org.apache.jsp.summary_jsp._jspService(summary_jsp.java:308) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) root cause java.lang.NoClassDefFoundError: org/jfree/data/general/PieDataset org.apache.jsp.summary_jsp._jspService(summary_jsp.java:114) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324) ...

7. update version 0.9.9 to 1.0.1    jfree.org

Hi, in my project I use jFreeChart - version 0.9.9 and I add version to 1.0.1. I add to my classpath jfreechart-1.0.1.jar jfreechart-1.0.1-demo.jar jcommon-1.0.0.jar junit.jar servlet.jar and remove old jar archives, but my write code is full errors. Etc FreeChart chart = ChartFactory.createPie3DChart("",data, true, false, false); ChartFrame frame = new ChartFrame("Title",chart); or DefaultPieDataset data = new DefaultPieDataset(); or CategoryDataset dataset = ...

8. Problems changing Version from 0.9.6 to 1.0.1    jfree.org

We are having the same problem also. I have found a number of items that were chaged that were not in the change log. The ones posted above seemed to help me through a few of them. Which brings me to a new list I need some resolution to. On the StandardLegend we used to call setOutlinePaint(null), this is no longer ...

9. Problem migrating from version 0.9.21 to version 1.0.1    jfree.org

Hi, when we moved to version 1.0.1 createMultiplePieChart starts to show every COLUMN in every ROW chart. Does anyone knows a workaround to avoid this? I attach an example that illustrates the problem (run it once with 0.9.21 and once with 1.0.1 to see the difference). Code: Select all import javax.swing.JFrame; import org.jfree.chart.ChartFactory; import org.jfree.chart.ChartPanel; import org.jfree.chart.JFreeChart; import org.jfree.data.category.DefaultCategoryDataset; import org.jfree.util.TableOrder; ...





10. Have .NET version of JFreeChart    jfree.org

This sounds interesting. Ok, I wouldnt make my hands dirty on J#, C# or something like that, but thats just me What were the changes that were needed in JFreeReport? If these changes dont hurt (means they are either tailored-to-fit for dot-net or cause architectural troubles), it might be worth pully them into the java-core - there's always a chance that ...

11. NumberTick problem migrating from version 0.916    jfree.org

NumberTick problem migrating from version 0.916 by winsboom Tue Jul 25, 2006 9:35 am Im trying to migrate a java code from version 0.9.16 to version 1.0.0. The code is a class that extends ValueAxis. This class has a method to calculate the label position in the ticks for the Axis. The method : Code: Select all protected List refreshHorizontalTicks(Graphics2D ...

12. Older version Jfree with JDK 1.5    jfree.org

Hi all, Im using older version jfreechart-0.9.16.jar but with jakarta-tomcat-4.1.31 and JDK 1.5. All the charts' images not able to display. However, if use it with JDK 1.4, everything works fine. Is there any ways for this version of jfreechart-0.9.16.jar to be support in JDK 1.5 ? I can really upgrade my jfreechart coz it seem to change their API drastically ...

14. Which Version is threadSafe ?    jfree.org

Hi, I am using Gantt chart in my application(JFreeChart 0.9.21 with Cewolf). The number of users for the application is high and I have seen performance degrade because of hung threads in the application. So I am eagar to know if the JFreechart Version I am using currently is Threadsafe. If anyone else has faced the same problem or possibly know ...





17. Migration from old version, please help    jfree.org

protected JFreeChart createMovingAverageChart( XYDataset ds, int period ) { MovingAveragePlotFitAlgorithm mavg = new MovingAveragePlotFitAlgorithm(); mavg.setPeriod(period); PlotFit pf = new PlotFit(ds, mavg); ...

18. Javadocs for older versions    jfree.org

19. Old version of Jfree    jfree.org

20. Version change 0.9 and 1.5    jfree.org

Hi I am currently using jfree chart 0.9.21. I was trying to update to the latest version 1.0.5, but it seems the existing code is giving lot of errors .complaining CategoryLabelGenerator class missing. when i tried to replace the CategoryLabelGenerator with CategoryItemLabelGenerator, it says certan methods are incompatible. Could anyone advise on what to do?

21. Jfree Chart - JRE Version    jfree.org

Hi everybody...! I hope someone can help me with this one... Im using the jfreechart-1.0.6.jar, but Im getting this error: "Unsupported major.minor version 49.0" And googling this error I found that this error occurs when I try to run in a lower version of the JRE an Application compiled in a Higher version... such as runing an Application compiled with JRE ...

24. Version Upgrade - methods removed    jfree.org

setBaseShapesVisible(boolean) replaces setDefaultShapesVisible(boolean). setMaximumItemAge(long) replaces setHistoryCount(int). The 'long' is the number of time periods (e.g. for a time series with daily data, specify '30' if you don't want any observations that are more than thirty days old in the series - anything older than that will automatically be dropped from the series when new data is added).

26. JFreeChart student version    jfree.org

27. alpha version of JFreeChart 3D    jfree.org

Would it be possible to release an alpha version (package or even source code) of the current status of JFreeChart 3D shown in the post with the title "A Glimpse of JFreeChart 3D"? 3D bar chart is an *urgent* need to the *scientific research* task I'm doing now and I'd love to continue with JFreeChart instead of looking for alternatives.

28. Version 1.0.11 + RCP = application vanishes    jfree.org

public class MyView extends ViewPart { public void createPartControl(Composite parent) { // create custom components within 'parent' .... // log here } .... }

29. Old Versions of JFreeChart    jfree.org

RichardWest wrote:Chris5322: be sure to get a version of JCommon with the same timestamp as or slightly earlier than your JFreeChart version. Hi Richard, Did you run into a particular problem with using a more recent version of JCommon? I try to ensure that JFreeChart works with any version of JCommon from 1.0.0 onwards, so that people that depend on JCommon ...

32. Differences between version    jfree.org

Hello, I wonder if it is possible to easily know which class have changed between the version 1.0.8a and 1.0.9 version of jfrreechart. I use jfrrechart in a framework and upgrading to version 1.0.9, it no longer works. I have no error message, so I do not know where is the problem? Maybe it comes corrections made to safety? Thank you ...

33. migration from very older version ....    jfree.org

There is no documentation concerning the changes from 0.x to 1.0.0. From 1.0.0, things are much easier because I've tried hard to keep the API more stable and there are migration notes in the JFreeChart Developer Guide to point out any "gotchas" that have crept in. The latest version is 1.0.12, by the way (I don't know where you got the ...

34. Version 1.0.13 + setLowerMargin    jfree.org

I just downloaded the new jfreechart, also for the use of the ItemLabelPosition in a difference chart which was previously not supported.. All works fine except the setLowerMargin and setUpperMargin on the 'domainAxis', it doesn't matter what I put in.. in the previous version of jfreechart I used it still worked (1.0.1) What I also noticed is that the tickunits are ...

35. version 1.0.8a to 1.0.12    jfree.org

37. JFreeChart after 04/2009 version 1.0.13    jfree.org

I'm working on an application which uses old versions of JFreeReport and JFreeChart and looking into options for upgrading to a more current version. The migration steps are very clear for JFreechart up to and including version 1.0.13 which seems to have a release date around April 2009. Does anyone know if these classes have evolved with the Pentaho suite of ...

39. New version of JFreeChart Sample WAR available    jfree.org

Modified the generateXYChart(String section, HttpSession session, PrintWriter pw) as JFreeChart chart = new JFreeChart("", JFreeChart.DEFAULT_TITLE_FONT, plot, "false"); modify "false" to "true" There is some error: Exception - java.lang.NullPointerException java.lang.NullPointerException at java.awt.Font.getLineMetrics(Font.java:1621) at java.awt.FontMetrics.getLineMetrics(FontMetrics.java:396) at org.jfree.chart.StandardLegend.createDrawableLegendItem(Unknown Sour e) at org.jfree.chart.StandardLegend.draw(Unknown Source) at org.jfree.chart.StandardLegend.draw(Unknown Source) at org.jfree.chart.JFreeChart.draw(Unknown Source) at org.jfree.chart.JFreeChart.createBufferedImage(Unknown Source) at org.jfree.chart.ChartUtilities.writeChartAsPNG(Unknown Source) at org.jfree.chart.ChartUtilities.saveChartAsPNG(Unknown Source) at org.jfree.chart.ChartUtilities.saveChartAsPNG(Unknown Source) at org.jfree.chart.servlet.ServletUtilities.saveChartAsPNG(Unknown Sour ...

40. JFreechart version    zkoss.org

41. JFreeChart version ?    zkoss.org