com.jidesoft.chart.annotation
Class AutoPositionedLabel
java.lang.Object
com.jidesoft.chart.annotation.AbstractAnnotation
com.jidesoft.chart.annotation.AbstractLabel
com.jidesoft.chart.annotation.AutoPositionedLabel
- All Implemented Interfaces:
- Annotation
public class AutoPositionedLabel
- extends AbstractLabel
A label that is centred on the chart. Usually used for the title of a Chart
- Author:
- Simon White (swhite@catalysoft.com)
Methods inherited from class com.jidesoft.chart.annotation.AbstractLabel |
equals, getColor, getFont, getLabel, getLabelComponent, getLabelStyle, getRotation, hashCode, paint, paint, setColor, setFont, setLabel, setLabelStyle, setRotation, size, toString |
AutoPositionedLabel
public AutoPositionedLabel()
- Zero-argument constructor
AutoPositionedLabel
public AutoPositionedLabel(String label,
Color color,
Font font)
- Parameters:
label
- the text to use for the labelcolor
- the color of the labelfont
- the font
AutoPositionedLabel
public AutoPositionedLabel(String label,
Color color)
- Parameters:
label
- the text to use for the labelcolor
- the color of the label
AutoPositionedLabel
public AutoPositionedLabel(String label)
- Parameters:
label
- the text to use for the label