/*
* File : $Source: /cvsroot/jchart2d/jchart2d/history.txt,v $
* Date : $Date: 2011/02/13 06:42:53 $
* Version: $Revision: 1.216 $
*
* This file is part of jchart2d -
* the Open Source real time charting library.
*
* Copyright (c) 2002 - 2011 Achim Westermann
*/
Quick intro
Use this library for integration of charts into your Java application.
To just view a chart open a shell (under windows cmd, penguins
will know), cd to the directory you downloaded this file to
and type
"java - jar jchart2d-3.2.1.jar".
You may also want to look at other demos. The may be launched by typing
"java -cp <jarfilelist> <fullyqualifiedclassname>".
E.g.: "java -cp jchart2d-3.2.1.jar info.monitorenter.gui.chart.demos.MinimalDynamicChart".
For full support (eps output, range chooser) also incorporate the 3rd party libraries to the
classplath:
linux: "java -cp jchart2d-3.2.1.jar:xmlgraphics-commons-1.3.1.jar:bislider.jar info.monitorenter.gui.chart.demos.AdvancedDynamicChart"
Windows: "java -cp jchart2d-3.2.1.jar;xmlgraphics-commons-1.3.1.jar;bislider.jar info.monitorenter.gui.chart.demos.AdvancedDynamicChart"
History of changes for the jchart2d project.
Changes are chronologically ordered from top (most recent)
to bottom (least recent).
Legend:
! New Feature
* Bug fixed, (unreleased) points out that this bug was never released.
- General comment
o API change that requires refactoring.
Note that refactoring of protected code intended for library
internal details will not be listed.
jchart2d-3.2.2 - September, 24th, 2011
! New AxisScalePolicyManualTicks for controlling the ticks by hand.
! Extended IAxis to have pluggable scale policies. See IAxis.setAxisScalePolicy(IAxisScalePolicy).
! ChartPanel now allows to drop the "adeptUI2Chart" feature of the popup menus. Use the new
constructor: public ChartPanel(final Chart2D chart, final boolean adaptUI2Chart).
Thx for contribution to: Poik Spirit.
* Fixed bug #3289727: Dynamic chart with highlighting does not clear points.
* Fixed potential memory leak in case traces with highlighting enabled are removed.
* Fixed bug #3308052: Test sources missing from 3.2.1 source file download tree.
* Fixed bug #3352480: Chart2D.removeTrace(ITrace2D) does not work after changing it's state (e.g. via setZindex(Integer)).
* Fixed bug #3405539: PointPainterDisc.setColorFill is invoked with the same color as the trace color, the disc fill will not happen.
If the color is different, then fill happens.
* Fixed bug #3357215: Stacked vertical charts not aligned.
* Fixed bug #3291886: AAxisTransformation transforms scale values (and duplicate #3406961: Labels on AxisLog10 axis are wrong). Credits for the
inspiring contribution by Bill Schoolfield.
* Fixed bug #3307611: IAxis.setPaintScale(false) turns off grid. Both properties work individually now (decoupled).
o Changed Chart2D method signature:
public final void removeTrace(final ITrace2D points)
to
public final boolean removeTrace(final ITrace2D points)
to return if removing was successful.
o Decoupled IAxis.setPaintGrid(boolean) from IAxis.setPaintScale(boolean). Earlier versions would turn on paintScale in case grid was turned on.
o IAxis has a new generic parameter.
1. Wherever you used
IAxis axis = chart.getAxis();
replace it with:
IAxis<?> axis = chart.getAxis();
2. Whenever you want to instantiate an axis:
IAxis<?> axis = new AxisLinear<IAxisScalePolicy>();
The AAxisTransformation narrows this type (to ensure correct labels):
IAxis<?> axisTransformed = new AxisLog10<AxisScalePolicyTransformation>();
3. If you want to reuse the charts axes and set a scale policy, a dirty cast is needed:
IAxis<IAxisScalePolicy> xAxis = (IAxis<IAxisScalePolicy>)chart.getAxisX();
xAxis.setAxisScalePolicy(new AxisScalePolicyManualTicks());
Without the cast you could not set the scale policy.
jchart2d-3.2.1 - April, 16th, 2011
! Added context menu entry for enabling/disabling antialiasing.
! Added various context menu entries for setting label formatters to axes.
! Stroke, color and transparency now may be specified for point highlighters or point painters.
The latter will override the settings of the trace to paint.
! Custom IPointFinders to find the nearest point of a chart corresponding to a mouse event
may be used.
! Automatic enabling/disabling of expensive trace highlighting when trace highlighters are
added / removed.
! Added simplified highlighting menu to trace menu (right click on trace name) too.
! Changed color management of error bar painters to use the new configurable point painter's color.
! Updated to Proguard Version 4.5.1.
! Synchronized direct changes to the trace point instances to avoid those not being reflected in UI (due to consumed repaint requests while paint cylce still running).
This should improve point highlighting (disallow forgetting to show changed highlighted point).
! Switched from bislider to JIDE oss for the range slider.
* Fixed unreported bug when setting a new LabelFormatterAutoUnits not calculating the proper unit.
* Fixed unreported bug when using currency/percent formatting in label formatter: labels would overwrite each other.
* Fixed issue with wrong equals / hashcode implementations (menu items for highlighters/painters would not update state if API call should cause that).
* Fixed issue with duplicate property change listeners on for menu items.
* Fixed issue with ClassCastException when changing the end point painter of an error bar painter (duplicate property constant).
* Fixed bug #1930893 again: ZoomableChart now interpolates the connections of two
invisible points if their connection crosses the zooming window.
* Fixed bug #3064089: Zoom does not work for multi axes plots (Contribution by Anadi Mishra).
* Fixed bug: Chart2D.setAxis<Dimension><Location>(AAxis, int) was not contained in the jar file (proguard shrinker issue).
* Fixed issue with remaining highlighted point when removing point highlighter from trace.
* Fixed NPE when calling TracePoint2D.setLocation(double, double) before point has been added to trace.
* Fixed issue with NPE when highlighting an interpolated point.
* Fixed issue with point highlighting leaving several highlighted points if there is more than 1 trace and your mouse gets
nearer to another trace than the previous trace being highlighted.
* Fixed issue with changed point highlighters on a trace being reported to the Chart instead of it's point highlighting worker
(thus resulting in no proper update of the changed highlighter on the highlighted points).
* Fixed bug #3127284: Using the ChartPanel wrapper, right click in the label of a trace to change its name. Press "cancel". The name disappears from the GUI.
* Fixed unreleased issue: point highlighting tracking in the chart is not enabled/disabled automatically if the first/last point highlighter was added / removed.
* Fixed unreported issue: Trying to add points from a separate thread before a trace is added to a chart runs into silent deadlock preventing the chart from
becoming visible / reactive.
* Fixed possible deadlock when launching many threads at startup while ChartPanel is used (Container.getTreelock() issue in addTrace of Chart2D).
* Fixed bug #3164863: LabelFormatter does not chooses femto range for very small values ( < 10^-16).
* Fixed unreported bug: ChartPanel looses trace labels when setting a new axis.
* Wiped out duplicate property change events for basic awt properties "font", "background" and "foreground" of Chart2D.
* Let Chart2D relay the event event IAxis.PROPERTY_ADD_REMOVE_TRACE to it's outside listeners: This was documented in javadoc and
made sense as outside users don't want to interact with internal object models. Register for this event via:
chart.addPropertyChangeListener(Chart2D.PROPERTY_ADD_REMOVE_TRACE, this).
o Renamed info.monitorenter.MathUtil to info.monitorenter.util.math.MathUtil.
o Renamed i