jCharts - 0.7.5

jCharts | Release 0.7.5

jCharts 0.7.5
Welcome to the 0.7.5 release of jCharts! Please be aware, there have been significant changes in the Properties model in this Release, and some minor tweaks to the data interfaces. You CAN NOT simply replace the 0.6 jar with the 0.7 jar and have your chart work. Please consult the java docs, examples, test framework, and User Guide for the changes. Do NOT be alarmed, as the changes will **NOT** require a complete rewrite of your code. jCharts 0.7.5 **REQUIRES** the JDK 1.4.x for the PNG and JPEG encoders to work, however, legacy support is provided via the JPEGEncoder13 class

jCharts Contents
    jCharts0.7.5
    +--build
    	--build.xml - ant build script
    +--demo
    	+--servletsApp - the demo servlet source
    +--docs
    	--jCharts_license.txt - the jCharts License
    	--apache_license.txt - the Apache License
    	--README.html - this document
    +--javadocs - complete javadocs of jCharts packages
    +--lib - Apache XML Batik libraries needed for encoding to SVG
    +--src - all of the source code
    --jCharts-0.7.5.jar - the jCharts compiled code base
    --jChartsExampleServlets.war - demo web archive. Put it in your Servlet container's 'webapps' directory

0.7.5
* Line and Point charts no longer start their plots at the y-axis.
* Fixed defect in ScatterPlot image map coordinate generation.

0.7.4
* Fixed Bug: The Y-Axis Title was not centering itself on the y-axis correctly.
* Fixed bug: multi-line chart title not computing its height correctly.

0.7.3
* fixed bug in Scatter Plots where x-axis labels were not being drawn correctly.
* fixed bug where the y-axis grid lines were not using the specified ChartStroke.

0.7.2
* JDK 1.4 dependent code removed from BarChartProperties, ChartDataException and Legend.
* added an Ant target: compile13, which compiles using jdk 1.3. Be aware of the excludes in this task. This helps to keep the JDK 1.4 dependencies isolated to the encoders package and the test packages.
* Percentage display on Numeric Axis now works. Be aware, Java's NumberFormat Object will multiply your value by 100 before displaying it in your locale specific percent.

0.7.1
* Horizontal Plots not starting the ticks at the y-axis, were offset. This was because some code for the next release accidently was inserted into the code base.
* Code accidentally added which caused the above bug, has: Area, Line, and, Point, charts plot start along the y-axis rather than offset, so those plots fill the entire plot area.

0.7.0
* Nothing has changed since Beta 3!

0.7.0 - Beta 3
* Legend icon borders now are drawn; this was commented out by accident in the code
* Pie Charts with a single item are now drawn correctly.

0.7.0 - Beta 2
* Fixed NullPointerException when not displaying labels on Axis Charts.
* Point Charts now show the shape for each data set in the Legend.

0.7.0 - Beta 1
* Added a Validation which will check each Axis Label for NULL and throw a ChartDataException if found.
* Changed default setting for ChartProperties.validate to true. If you want to spare some CPU cycles after development, set this to false to skip the validations.
* Pie Charts now support legend placement on all sides of plot.
* You can now toggle axis scale labels on both axis independently.
* The x-axis label overlap was not being calculated correctly so labels could overlap. This has been fixed.
* In order to break the runtime dependency on j2ee.jar, all references to HttpServletResponse have been removed from the encoders. The shortcut methods for outputting from a Servlet or JSP are now located in the org.jCharts.encoders.ServletEncoderHelper Class.

0.7.0 - Alpha 2
* Fixed bug in alpha 1: NullPointer when trying to render an AxisChart without a legend
* Fixed bug in alpha 1: XAxis was rendering a grid line over the y-axis on a horizontal plot, so axis was always gray.
* Copied the SwingTest.java from the test code to the demo package and named it SwingDemo.java
* Bar and Clustered Bar, both vertical and horiztonal, allow value labels to be placed on them. Run the examples web app and look at the Bar Chart to see this. The source is in the demo package.

0.7.0 - Alpha 1
* Added a Validation framework to assist developers in tracking down data problems. The Chart Properties Object now contains a method setValidate( boolean ) which allows developers to toggle the validations for speed. The IDataSeries interface has a new method: public void validate() throws PropertyException
* Removed all 'transient' data members and made everything Serializable.
* The encode( Chart chart, HttpServletResponse httpServletResponse ) method has been renamed to encodeServlet
* A framework has been introduce which allows for custom scale increment code to be included in Axis Charts. Simply extend the org.jCharts.axisCharts.scale.AutomaticScaleCalculator Class and override the computeIncrement( int ) method.
* Bug fix: x-axis labels will no longer go off the right edge of the chart image.
* Horizontal Bar, Stacked Bar, and Clustered Bars have been added.
* Scatter Plot Charts have been added.
* Servlet demos have been updated to be easier for non-java programers to understand as many have requested this. So inheritance has been avoided and the code is self contained so you can just change values and use them as they are.

Known Issues
Apache XML Batik, which jCharts uses to output SVG formatted charts, does not display vertical axis labels. This has been reported to them as of 6-23-2002 and hopefully a solution will be found soon; horizontal axis labels work in SVG. I tried 1.1.1 and 1.5 beta 3.

Having Problems?
Bugs

Links
User's Mail List
jCharts Project Page
Feature Requests

Bundled Software
This product includes software developed by the Apache Software Foundation (http://www.apache.org/), namely the Apache XML Batik Project
jCharts uses the Ant build system developed by the Apache Software Foundation (http://ant.apache.org)