JFreeChart 1.0.0-rc1 available...

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.0-rc1 available...

Post by david.gilbert » Thu Jun 02, 2005 5:31 pm

A new release of JFreeChart (version 1.0.0-rc1) is now available for download. Changes in this release are listed below. Please report any problems as soon as possible.

Code: Select all

02-Jun-2005 : VERSION 1.0.0-rc1 RELEASED

SPECIAL NOTE: this version is a "release candidate" for 1.0.0 final.  If no
significant API problems are reported, the JFreeChart API will be frozen
and this release will be relabelled JFreeChart 1.0.0.  Once this is done,
we aim to maintain a stable series of 1.0.x releases which preserve backwards
compatibility with the JFreeChart 1.0.0 API.  Only bug fixes and new features
that don't break the existing API will be added to this series.

At the same time, a new development branch of JFreeChart will be created,
using the version numbers 1.1.x.  This branch will not maintain backwards 
compatibility, but will be used for new features that can't be added without
changing the API.  At some point in the future this branch will be released 
as a stable JFreeChart 1.2.0.

02-Jun-2005 : [NEW] Added domain marker support to CategoryPlot (DG);

01-Jun-2005 : [BUG] Fixed serialization of CategoryPlot and XYPlot - see 
                    patch 1209475 at SourceForge (DG);
                    
              [BUG] Fixed bug 1209146 - a problem with marker label 
                    positioning (DG);

31-May-2005 : [API] Fixed typo in method name 'addSubitle' in JThermometer 
                    class (DG);

20-May-2005 : [API] Changed seriesName (String) to seriesKey (Comparable) in
                    all datasets - you can still use String objects for the
                    name / key, but now have the *option* to use other objects
                    if you need to (the toString() method generates the series
                    labels) (DG);
                    
              [BUG] Fixed bug 1113521 - inefficient getEntity() method in 
                    StandardEntityCollection (DG);
                    
              [API] Added getItem() methods to DefaultBoxAndWhiskerDataset and
                    DefaultBoxAndWhiskerXYDataset (DG);
                    
              [API] In PeriodAxisLabelInfo, added constants for default values
                    and checks for null arguments in the constructor (DG);
                    
              [NEW] Added setDomainAxes() and setRangeAxes() methods to 
                    CategoryPlot and XYPlot, as per RFE 1183100 (DG);
                    
              [   ] Speed up binning in HistogramDataset - see patch 1026151
                    contributed by Cameron Hayne (DG);

19-May-2005 : [NEW] In CategoryPlot, added removeAnnotation() and 
                    clearAnnotations() methods (DG);
                    
              [NEW] Added serialVersionUID for serializable classes (DG);
              
              [NEW] Added code to XYBarRenderer and ClusteredXYBarRenderer
                    to draw item labels (DG);

18-May-2005 : [NEW] Added configurable base value to BarRenderer (DG);

17-May-2005 : [API] Moved DataUtilities from org.jfree.data.general -->
                    org.jfree.data package (DG);
                    
              [NEW] Modified the StackedBarRenderer to support "percentage"
                    bar charts where the stacked bars add to 100% (DG);
                    
              [API] In XYPlot, renamed get/setZeroRangeXXX() methods --> 
                    get/setRangeZeroXXX() (DG);
                    
16-May-2005 : [BUG] ClusteredXYBarRenderer now used outlineStroke setting for
                    bar outlines, rather than the regular stroke.  Also removed
                    some redundant code and now the renderer respects the 
                    'base' value set in the super class.  Added an equals() 
                    method (DG);

13-May-2005 : [NEW] Added options to control padding of legend item labels and
                    graphics (DG);

10-May-2005 : [NEW] Added flag to control visibility of label linking lines in
                    the PiePlot class.  Added another flag to control the 
                    handling of zero values (DG);
                    
06-May-2005 : [API] Added convenience methods to AbstractBlock to set margin,
                    border and padding (DG);
                    
05-May-2005 : [API] Added equals() method to XYDifferenceRenderer, and changed
                    setPlotShapes() --> setShapesVisible() (DG);

04-May-2005 : [BUG] Fixed serialization of markers in CategoryPlot and
                    XYPlot (DG);

03-May-2005 : [BUG] Fixed some problems with unsorted XYSeries instances (DG);

              [API] Added equals() method to CompositeTitle (DG);

29-Apr-2005 : [BUG] Fixed 1192606 - DefaultOHLCDataset not serializable (DG);

27-Apr-2005 : [BUG] Fixed problem with getValueAt() method in the
                    XYDatasetTableModel class - bug id 1191046 (DG);

              [BUG] StandardXYItemRenderer was not using the series label
                    generator for legend items (DG);

25-Apr-2005 : [BUG] Fixed bar width calculation for BarRenderer3D, see
                    bug 1189642 (DG);

21-Apr-2005 : [API] Replaced Insets with RectangleInsets in axis classes (DG);

              [API] Replaced Insets with RectangleInsets in plot classes (DG);

              [API] Removed some redundant parameters from methods in the 
                    axis classes (refreshTicks() and others) (DG);

              [API] Added SeriesRenderingOrder attribute to XYPlot, and 
                    added log axis margins - contributed by Eric Thomas, 
                    see patch 1187138 (DG);

20-Apr-2005 : [API] Renamed XYLabelGenerator --> XYItemLabelGenerator, and
                    also the related methods (DG);

              [API] Renamed CategoryLabelGenerator 
                    --> CategoryItemLabelGenerator and also the related 
                    methods (DG);

              [NEW] LegendTitle now supports tooltips and URLs for the 
                    series labels (DG);

18-Apr-2005 : [BUG] Made constants in ChartPanel final (DG);

              [API] Added equals() method to LegendItemCollection, and
                    implemented Cloneable and Serializable (DG);

17-Apr-2005 : [BUG] Fixed infinite loop in CompassPlot clone() method (DG);

15-Apr-2005 : [BUG] Fixed overruns in tick marks for PeriodAxis (DG);

13-Apr-2005 : [BUG] Modified ChartFactory to set tool tip and URL 
                    generators as base settings so as not to override
                    per series settings added later (DG);

              [API] Added removeLegend() and removeSubtitle() methods to
                    the JFreeChart class (DG);

              [BUG] Fixed shape positioning bug (id = 1182062) in the 
                    XYDifferenceRenderer class (DG);

              [BUG] Modified LineAndShapeRenderer and LineRenderer3D to 
                    respect series visibility flags (DG);

12-Apr-2005 : [API] Added getLegend() and getLegend(int) methods to 
                    JFreeChart class (DG);

11-Apr-2005 : [API] Added getFillZoomRectangle() method, renamed 
                    setHorizontalZoom() --> setDomainZoomable(), 
                    setVerticalZoom() --> setRangeZoomable(), added 
                    isDomainZoomable() and isRangeZoomable(), added 
                    getHorizontalAxisTrace() and getVerticalAxisTrace(),
                    renamed autoRangeBoth() --> restoreAutoBounds(),
                    autoRangeHorizontal() --> restoreAutoDomainBounds(),
                    autoRangeVertical() --> restoreAutoRangeBounds() (DG)

10-Apr-2005 : [BUG] Fixed DefaultKeyedValues.getValue(Comparable) to throw
                    an exception for unrecognised keys (bug 1177423) (DG);

              [BUG] Fixed item label positioning in StandardXYItemRenderer
                    for horizontal orientation (DG);

29-Mar-2005 : [BUG] Fixed bug in drawItem() method for handling zero data
                    values (DG);

              [BUG] Fixed bug in equals() method for ThermometerPlot (DG);

28-Mar-2005 : [API] In NumberAxis, renamed autoRangeIncludesZero() --> 
                    getAutoRangeIncludesZero() and autoRangeStickyZero() --> 
                    getAutoRangeStickyZero() (DG);

              [API] Renamed Legend --> OldLegend and StandardLegend -->
                    DefaultOldLegend (DG);

27-Mar-2005 : [BUG] Fixed getSeries(int) method in XYSeriesCollection and
                    TimeSeriesCollection (DG);

23-Mar-2005 : [BUG] Added missing code to FlowArrangement class (DG);

              [API] Refactored MeterPlot class to allow for an arbitrary
                    number of intervals (plus various other changes to make
                    this class fit better within JFreeChart) (DG);

22-Mar-2005 : [BUG] Fixed problem where XYPlot doesn't register as a 
                    listener with newly added renderer (DG);

18-Mar-2005 : [BUG] Fixed item labels on StackedBarRenderer3D (DG);

17-Mar-2005 : [BUG] Fixed problem with bounds calculation in the 
                    XYBubbleRenderer class (DG);

              [NEW] Added createRingChart() method to ChartUtilities (DG);

              [BUG] Fixed bug in legend where unfilled shapes are shown
                    as filled shapes (DG);

              [BUG] Set outline stroke for shapes in 
                    XYLineAndShapeRenderer (DG);

16-Mar-2005 : [NEW] Added itemFont attribute to LegendTitle (DG);

15-Mar-2005 : [BUG] Fixed broken XYStepRenderer (DG);

              [API] In LineAndShapeRenderer, changed the defaultShapesFilled
                    attribute from a Boolean --> boolean (DG);

              [BUG] Fixed bug 1163897, shape outlining for the 
                    LineAndShapeRenderer class (DG);

              [BUG] In AbstractRenderer, fixed serialization of baseFillPaint
                    attribute (DG);

11-Mar-2005 : [BUG] Fixed bug in bounds recalculation for TimePeriodValues
                    class - see bug report 1161329 (DG);

              [NEW] Added equals() method to TimePeriodValuesCollection 
                    class (DG);
Last edited by david.gilbert on Fri Nov 25, 2005 3:58 pm, edited 1 time in total.

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

Post by mhilpert » Fri Jun 03, 2005 1:02 pm

Even though the release notes get better, it's still not good enough. Example: AbstractSeriesDataset.getSeriesName() is gone ... no note in the CHANGES.txt nor in the changes comment of the class' source code ... :cry:
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:

Post by david.gilbert » Fri Jun 03, 2005 3:22 pm

This is the change:

Code: Select all

20-May-2005 : [API] Changed seriesName (String) to seriesKey (Comparable) in
                    all datasets - you can still use String objects for the
                    name / key, but now have the *option* to use other objects
                    if you need to (the toString() method generates the series
                    labels) (DG); 
The method changes from get/setSeriesName() --> get/setSeriesKey().
David Gilbert
JFreeChart Project Leader

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

rryjew
Posts: 7
Joined: Wed Apr 13, 2005 2:31 pm

Symbolic Values not being displayed on axis

Post by rryjew » Fri Jun 03, 2005 4:37 pm

After upgrading, my symbolics are no longer displayed on the axis. They are being displayed correctly in my tooltips.

rryjew
Posts: 7
Joined: Wed Apr 13, 2005 2:31 pm

Symbolic Fix

Post by rryjew » Fri Jun 03, 2005 5:47 pm

You now need to create and set a SymbolicTickUnit.

Code: Select all

		SymbolicAxis axis = new SymbolicAxis("Hole Cards", dataset.getXSymbolicValues());
		SymbolicTickUnit stu = new SymbolicTickUnit(1,dataset.getXSymbolicValues());
		axis.setTickUnit(stu);

Guest

Problems

Post by Guest » Thu Jun 16, 2005 11:41 am

With a CategoryPlot displayed on a JFreeChart, you can zoom correctly whatever your initial orientation. When you change the orientation with the Properties editor of the popup menu, you are only able to zoom as previously (speaking of the graphic feedback) but as it's incorrect, it doesn't work.

Another point is how the legend are created with the properties editor of the popup menu. If a chart is created with ChartFactory, the legend is a subtitle, then unrecognized as a legend by the property. It's possible to add the legend the same way (with OldLegend), but it would be neater if the other way was recognized by the properties editor legend tab.

MeterPlot

MeterPlot set the warning range

Post by MeterPlot » Thu Jun 16, 2005 3:21 pm

Why are these methods in the version 1.0.0 RC1 removed?
Meterplot.setNormalRange(new Range(100.0, 120.0));
Meterplot.setWarningRange(new Range(100.0, 120.0));
Meterplot.setCriticalRange(new Range(120.0, 140.0));
are there are some other methods to reproduce the same effects?
Thanks!

MeterPlot

sloved the interval problem

Post by MeterPlot » Thu Jun 16, 2005 4:11 pm

we can use the method addInterval() to solve this problem.

lapin_nain

ChartFactory method

Post by lapin_nain » Tue Jun 28, 2005 11:45 am

I am unable to create any chart with a XYDataset. I have tried this way:
JFreeChart perfchart = ChartFactory.createXYStepAreaChart("title", "Xaxis", "Yaxis", adataset, PlotOrientation.VERTICAL, true, false, false);

And I get the following error message:

Error(177,48): method createXYStepAreaChart(java.lang.String, java.lang.String, java.lang.String, org.jfree.data.xy.XYDataset, org.jfree.chart.plot.PlotOrientation, boolean, boolean, boolean) not found in class org.jfree.chart.ChartFactory

of course I have set my librairies.

If someone could help me...

Tzaphkiel
Posts: 44
Joined: Tue May 13, 2003 1:37 pm
Location: Belgium

Post by Tzaphkiel » Mon Jul 04, 2005 9:23 am

Hi everyone ,

I would like to bring to attention this post concerning possible problems found in rc1:
http://www.jfree.org/phpBB2/viewtopic.php?t=13371

Is anyone thinking the same things as me about it or not? (about scaling problems, ...)

Regards
Tzaphkiel
Image

Guest

Minor point

Post by Guest » Sun Jul 17, 2005 10:34 pm

Very minor point, but the resources are still reporting JFreeChart-1.0.0-pre2.

Guest

Errors in createTimeSeriesChart and createPieChart

Post by Guest » Mon Aug 01, 2005 8:28 pm

I get the following errors when trying to create a time series chart or
pie chart that worked fine in the previous release:
==========================================
JFreeChart chart = ChartFactory.createTimeSeriesChart(title,dateAxisLabel, valueAxisLabel,timeSeriesCollection, true, true, false);

java.lang.NoSuchMethodError: org.jfree.ui.RectangleInsets.<init>(DDDD)V
at org.jfree.chart.axis.Axis.<clinit>(Axis.java:134)
at org.jfree.chart.ChartFactory.createTimeSeriesChart(ChartFactory.java:1684)

==========================================
JFreeChart chart = ChartFactory.createPieChart(title,dataset,
true, true, false);

java.lang.NoClassDefFoundError
at org.jfree.chart.ChartFactory.createPieChart(ChartFactory.java:226)

==========================================

Thanks,

Steve Litz

paquerette
Posts: 10
Joined: Wed Apr 20, 2005 6:23 pm
Location: Paris, France

Post by paquerette » Tue Aug 09, 2005 4:26 pm

Hi,

I'm looking for

org.jfree.chart.renderer.category.BarRenderer3D.setLabelGenerator(StandardCategoryLabelGenerator.class);

It just have gone with RC1.
Anyone got a replacement code for this?

see this topic for more details :
http://www.jfree.org/phpBB2/viewtopic.php?t=13978

Paquerette.

guest

Post by guest » Mon Oct 03, 2005 6:33 pm

I've seen a similar page, but I don't remember where, stay on, i'll come back :) Image
Image

escroger
Posts: 3
Joined: Fri Feb 18, 2005 12:00 am

JFreeChart 1.0.0 Final Version????

Post by escroger » Mon Oct 10, 2005 11:04 pm

Any idea when the final version of JFreeChart/JCommon jar files
will be released? We're still pending shipment of our software
and would prefer to know when the final version is available.

- Eric
:?

Locked