JFreeChart 1.0.14

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

JFreeChart 1.0.14

Post by david.gilbert » Mon Nov 21, 2011 10:36 pm

JFreeChart 1.0.14 is now available to download from the project page at SourceForge:

https://sourceforge.net/projects/jfreechart

Some notes about this release:

Code: Select all

JFreeChart 1.0.14
-----------------
20 November 2011

This release contains support for multiple and logarithmic axes with PolarPlot,
optional drop-shadows in plot rendering, fitting polynomial functions to a data
series, some performance improvements in the TimeSeriesCollection class, mouse
wheel rotation of pie charts, improved Maven support and numerous bug fixes.

Patches:

3435734 : Fix lines overlapping item labels (by Martin Hoeller);
3421088 : Bugfix for misalignment in BoxAndWhiskerRenderer;
2952086 : Enhancement for finding bounds in XYZDatasets;
2954302 : CategoryPointerAnnotation line calculation;
2902842 : HistogramDataset.addSeries() fires change change event (by
          Thomas A Caswell);
2868608 : Whisker width attribute for BoxAndWhiskerRenderer (by Peter Becker);
2868585 : Added useOutlinePaint flag for BoxAndWhiskerRenderer (by
          Peter Becker);
2850344 : PolarPlot enhancements (by Martin Hoeller);
2795746 : Support for polynomial regression;
2791407 : Fixes for findRangeBounds() in various renderers.

Bug Fixes:

3440237 : Shadows always visible;
3432721 : PolarPlot doesn't work with logarithmic axis;
3433405 : LineChart3D - Problem with Item Labels;
3429707 : LogAxis endless loop;
3428870 : Missing argument check in TextAnnotation;
3418287 : RelativeDateFormatTest.java is locale dependent;
3353913 : Localisation fixes for ChartPanel, CompassPlot and PiePlot3D;
3237879 : RingPlot should respect getSectionOutlineVisible();
3190615 : Added missing clear() method in CategoryTableXYDataset;
3165708 : PolarChartPanel localisation fix;
3072674 : Bad handling of NaN in DefaultStatisticalCategoryDataset;
3035289 : StackedXYBarRenderer should respect series/item visible flags;
3026341 : Check for null in getDomain/RangeBounds() for XYShapeRenderer;
2947660 : AbstractCategoryRenderer fix null check in getLegendItems();
2946521 : StandardDialScale check majorTickIncrement argument;
2876406 : TimeTableXYDataset should support Comparable for series keys;
2868557 : BoxAndWhiskerRenderer should fire change event in setMedianVisible();
2849731 : For IntervalCategoryDataset and IntervalXYDataset, fix 
          iterateRangeBounds() in DatasetUtilities;
2840132 : AbstractXYItemRenderer drawAnnotations doesn't set renderer index;
2810220 : Offset problem in StatisticalBarRenderer;
2802014 : Dial value border too small;
2781844 : XYPointerAnnotation arrow drawing;
1937486 : AreaRenderer doesn't respect AreaRendererEndType.LEVEL;

Also fixed:
- use of simple label offset in PiePlot;
- cached minY and maxY in TimeSeries.createCopy();
- scaling issues for charts copied to the clipboard;
- use of timezone in TimeTableXYDataset constructor;
- duplicate series names in XYSeriesCollection;
- HistogramDataset fires a change event in addSeries();
- check visibility of main chart title before drawing it;
- fixed serialization of PowerFunction2D, NormalDistributionFunction2D,
  and LineFunction2D;
- item label positioning for the AreaRenderer class when the plot has an
  horizontal orientation
An updated version of the JFreeChart Developer Guide will be posted at the end of this week.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

matinh
Posts: 483
Joined: Fri Aug 11, 2006 10:08 am
Location: Austria

Re: JFreeChart 1.0.14

Post by matinh » Tue Nov 22, 2011 9:20 am

Hi!

As announced earlier, JFreeChart is now in Maven Central (should be available with the next sync today). To use it add the following dependency to your build:

Code: Select all

<dependency>
  <groupId>org.jfree</groupId>
  <artifactId>jfreechart</artifactId>
  <version>1.0.14</version>
</dependency>
- martin

mhilpert
Posts: 497
Joined: Wed Apr 02, 2003 1:57 pm
Location: Germany

Re: JFreeChart 1.0.14

Post by mhilpert » Fri Dec 09, 2011 3:35 pm

jfreechart.jar still has version "1.0.13"!
(org.jfree.chart.resources.JFreeChartResources)
Java 11, JFreeChart 1.0.15, JFreeSVG 4.0

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Re: JFreeChart 1.0.14

Post by david.gilbert » Fri Dec 09, 2011 8:10 pm

Oops! Thanks for the report. I'll make sure to update it correctly for the next release.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

Jeff in VA
Posts: 11
Joined: Sun Mar 23, 2008 2:35 am

Re: JFreeChart 1.0.14

Post by Jeff in VA » Sun Jan 22, 2012 4:42 pm

Has the demo source code been updated for version 14?

Abhaysc
Posts: 2
Joined: Wed May 09, 2012 9:46 am
antibot: No, of course not.

Re: JFreeChart 1.0.14

Post by Abhaysc » Wed May 09, 2012 9:58 am

Hello David,

can you advice me on one issue.
my old code i was using "jfreechart-0.9.21" and "jcommon-0.9.6" whcih contained Class Legend and StandardLegend.
My new version is "jfreechart-1.0.2" which excludes these 2 class.
can you please help me, which class will now replace these 2 classes.

Your Immediate help will be Appreciated.

Many Thanks in Advance.

Regards.
Abhay.
achamank@globeop.com

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Re: JFreeChart 1.0.14

Post by david.gilbert » Thu May 10, 2012 3:32 am

The legend is added to the chart as a subtitle, and the class used is LegendTitle.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

Abhaysc
Posts: 2
Joined: Wed May 09, 2012 9:46 am
antibot: No, of course not.

Re: JFreeChart 1.0.14

Post by Abhaysc » Thu May 10, 2012 3:54 am

Many Thanks David.

but still even if i comment my Legend code... i still get error witht the new jars.
which means im not using Class Legend and Class StandardLegend.
just not understanding, whats going wrong.
The code just doesnt work with addition of new Jar and no error is display on console.

just getting one error popup,,saying "Error Occured". :(

can you suggest some random checks i need to do.... with the addition of new jars.

Many Thanks,
Abhay.
achamank@globeop.com

paradoxoff
Posts: 1634
Joined: Sat Feb 17, 2007 1:51 pm

Re: JFreeChart 1.0.14

Post by paradoxoff » Thu May 10, 2012 9:13 am

What is generating this "popup"? Your IDE? What IDE are you using?
IF all what your IDE is telling you that an "Error Occured", I would suggest to change it.
if you have a code fragment that is making problems after switching from jfreechart 0.9.xx to 1.0.xx, I would suggest two thinks:
1. Post the error messages
2. If they are as helpful as the message stated above, post the code. Other people with other IDE might be able to identify what is going wrong.

chirayu143
Posts: 5
Joined: Thu Aug 02, 2012 12:16 pm
antibot: No, of course not.

Re: JFreeChart 1.0.14

Post by chirayu143 » Fri Aug 10, 2012 7:37 am

Please can you tell me where is Dynamic Data Demo2.java file is located in jfreechart-1.0.14 unziped folder. Not able to find it.

matinh
Posts: 483
Joined: Fri Aug 11, 2006 10:08 am
Location: Austria

Re: JFreeChart 1.0.14

Post by matinh » Fri Aug 10, 2012 7:44 am

The source-code for the demos is only available if you purchase the developer guide.

- martin

chirayu143
Posts: 5
Joined: Thu Aug 02, 2012 12:16 pm
antibot: No, of course not.

Re: JFreeChart 1.0.14

Post by chirayu143 » Mon Aug 13, 2012 7:04 am

How can i reduce the size of jcommon-1.0.16.jar and jfreechart-1.0.13.jar(mainly jfreechart-1.0.13.jar) so that i can use this library in my embedded environment.Size is creating probs for me. Please tell how can i reduce.

mhilpert
Posts: 497
Joined: Wed Apr 02, 2003 1:57 pm
Location: Germany

Re: JFreeChart 1.0.14

Post by mhilpert » Tue Sep 04, 2012 10:31 am

It would be nice to have 2 different versions: 1 with debug informations and 1 optimized (compiler flag optimize) for every day usage.
Java 11, JFreeChart 1.0.15, JFreeSVG 4.0

cedarsoft
Posts: 1
Joined: Tue Sep 18, 2012 10:38 am
antibot: No, of course not.

Re: JFreeChart 1.0.14

Post by cedarsoft » Tue Sep 18, 2012 10:39 am

Hey guys,

the new pom for 1.0.14 has introduced several new dependencies (itext, xml-api). Is this a bug or feature?



Regards,

Johannes

matinh
Posts: 483
Joined: Fri Aug 11, 2006 10:08 am
Location: Austria

Re: JFreeChart 1.0.14

Post by matinh » Tue Sep 18, 2012 10:51 am

Hi!

See also this thread for some discussion of the topic.
Basically iText is only a dependency for the demo application. You could just declare an <exclude> for it in your pom.
I'm not sure about xml-api.

The cleanest solution will probably be to split up the build of the lib itself an the demos and declare the correct dependencies for each module. If you feel like creating a bug-report about this, feel free to do so.

hth,
- martin

Locked