CHANGELOG for Big Faceless Graph Library ---------------------------------------- The version numbering scheme in use across all our products is designed to simplify upgrade management for developers: * A "patch level" change indicates a minor feature or bugfix. Methods MAY have been added to the API, but none have been removed. eg. Code written for version 1.0.0 will work on version 1.0.9 * A "minor level" change indicates a change to the API which may require some code changes. API changes are minor, but are necessary for bug fixes or new features. eg. Code written for version 1.0.3 MAY require changes for 1.1 * A "major level" indicates big changes to the API or considerable extra functionality. Developers can expect significant changes to bring their code up to date. eg. Code written for version 1.1 is unlikely to work under 2.0 ----------------------------------------------------------------------------- 2.4.2 (released 2009-10-14) --------------------------- * Updated tag library to JSP 1.2 specification. * Added support for storing GraphContext in sessions, so that graph web app can be deployed in a cluster. This is done by setting the "org.faceless.graph2.UseSession" context-parameter to "true". * Added support for new Java 1.6 java.awt.LinearGradientPaint to XML. This is done by setting the Color attribute to match the format 'gradient(c1,v1, c2,v2, [c3,v3, ...])', where 'cn' is a Color and 'vn' is the value where that color should be set. See "xml/linearexample.java" and "LinearGradientExample.java" in the examples folder. * Added new "svg-sniff" format which will create SVG graphs in a manner that works with IE8. * Added hsv() (aka hsb) to the ways of specifying a color in the XML. * Correctly set external fonts in graphs created by the Report Generator. * Use of pattern() colors in PDF graphs now follow the "pattern" format defined in the Report Generator. * Fixed handling of "dpi" XML attribute. * Don't generate client-side JavaScript from the XML graphs unless required. * Changed AreaSeries to paint gradients vertically, rather than diagonally. * Change DateAxis so that it respects user set timezone even when the format doesn't contain time information. * The "key" now respects font attributes under all circumstances. 2.4.1 (released 2009-04-30) --------------------------- * Fixed mouseovers relating to to multi-bar series in the tag library * Fixed build issue bug that was causing a required class to be obfuscated away. This was sometimes causing mouseover issues on the first graph. 2.4 (released 2009-03-24) --------------------------- * INCOMPATIBLE CHANGE: Changed method signature of Key.addCustom(Marker) to accept an AbstractMarker instead, allowing Text items to be used as Markers. No code changes are required although code calling this method will need to be recompiled. * Added the ability to create "funnel" and "pyramid" charts, via the new setBarWidth(float, float) methods in GeneralBarSeries and the "topbarwidth" and "bottombarwidth" attributes in XML. * Added the ability to place gaps between the bars in a Stacked Bar Series * Added "autocolors" feature to Graphs, to auto-choose colors in a certain range. * Changed the way URLs for generated images are constructed by the tag library to ensure they're not guessable, and added the "bfgimagepath" property to the pageContext so that it's possible to retrieve the image URL. * Correctly lay out multi-line text in key * Added ImageOutput.writePNG(OutputStream, numcolors, dpi) method to create a PNG with resolution information * When plotting dates on graph, ensured it's always possible to specify them as ISO8601. Needed for some special cases when mixing bars and lines. * Resolved incorrect 3D sort of markers drawn in front of bars for some graphs * Resolved rare "Two faces with the same sort order" error with certain data * Redesigned the Web Service API and made it public, to ease customization. 2.3.5 (released 2008-07-03) --------------------------- * Size items in key based on their font size. * Correct position external labels on a PieGraph with zrotation. * Added ability to set font size on key from JSP (taglib definition was incorrect). * Performance improvements made to the 3D engine, for quicker rendering of graphs with thousands of polygons. * Added a main class to the Jar, for quick conversions from XML to a Graph. "java -jar bfograph.jar" for more info * Fixed minor bugs rendering PieGraphs with zrotation or when rendering to PDF. * Fixed rounding error sometimes dropping the last point in FunctionLineSeries. 2.3.4 (released 2008-04-18) --------------------------- * Modified the FunctionLineSeries slightly - there is a now a "complete" method for subclasses, and the "setLineSeries" method can retrieve the data from a LineSeries. Added a matching "series" attribute in the XML. * Now you can specify a locale when formatting dates in XML, eg "date(dd-MMM-yyyy,sv)". * Fixed "missing bars" problems when plotting bars against a date axis and specifying a "barwidth" on the date axis, or when bars do not match every date. * Improvements to values displayed on the rollovers for line graphs, for very large values. * Correctly position labels on MultiBar graphs. * NaN values can be used in BoxWhisker series * The Graph Library can now be licensed using a license file. 2.3.3 (released 2007-11-08) --------------------------- * Fixed position of BarSeries markers when plotted against a DateAxis. * Fixed problem when plotting dates on one axis against times on another in non-UTC timezones. * Fixed exception when plotting striped backing paints against a top axis. * Fixed NaN error when plotting a LineGraph with only a single point. 2.3.2 (released 2007-08-03) --------------------------- * Display order of markers on a non-3D graph is now deterministic * Markers, images and labels on bar series appear in the correct place if the order of the bars is changed between series, or if the series is part of a stack barseries *