Class AxisTitlePainterDefault

java.lang.Object
info.monitorenter.gui.chart.axistitlepainters.AxisTitlePainterDefault
All Implemented Interfaces:
IAxisTitlePainter, Serializable

public class AxisTitlePainterDefault extends Object implements IAxisTitlePainter
An IAxisTitlePainter implementation that will render titles in a default way while adapting to x or y axis use.

For x axis the title will be displayed centered below the axis. For y axis the title will be displayed rotated by 90 degrees centered left of the axis.

The y axis rotation will only be performed when the given Graphics Object is of type Graphics2D.

Version:
$Revision: 1.14 $
Author:
Achim Westermann
See Also: