Due to the lack of updates on the SWT interface for JFreeChart and a need/want for some of the new functionality added since 2008.
The code supplied covers almost all of the functionalities added up to JFreeChart 1.0.14, including Panning, Mouse Wheel Zooming, SWT printing controls, zoom area fixes, support for GradientPaint and Horizontal Overlays.
The code is given as is, but was tested to work on Windows, Linux and OSx, also the issue with the axis labels is fixed.
This is a list of the bug tracker items and patches included:
SWT print ChartComposite -
Experimental SWT source
Pressed the wrong button, list follows:
Bug ID #2963199 - SWT print ChartComposite - http://sourceforge.net/tracker/index.php?func=detail&aid=2963199&group_id=15494&atid=115494
Bug ID #2932859 - Popup Menu causing SWT Memory Leak - http://sourceforge.net/tracker/index.php?func=detail&aid=2932859&group_id=15494&atid=115494
Bug ID #1778470 - SWT ChartComposite: wrong entity after resizing - http://sourceforge.net/tracker/index.php?func=detail&aid=1778470&group_id=15494&atid=115494
Bug ID #3482106 - ChartComposite Axis & legend label not visible (1.0.14) - http://sourceforge.net/tracker/index.php?func=detail&aid=3482106&group_id=15494&atid=115494
Patch ID #3138214 - Make SWT support Horizontal Overlay - http://sourceforge.net/tracker/index.php?func=detail&aid=3138214&group_id=15494&atid=315494
Patch ID #2948366 - SWT: patch for properties dialog when parent is modal - http://sourceforge.net/tracker/index.php?func=detail&aid=2948366&group_id=15494&atid=315494
Patch ID #2803330 - SWTGraphics2D - Add Support for GradientPaint - http://sourceforge.net/tracker/index.php?func=detail&aid=2803330&group_id=15494&atid=315494
Thanks for creating this, this fixed a few pesky issues for us. For everyone's convenience, attached is a built version of the source.