net.sf.statcvs.charts
public class SymbolicNameAnnotation extends Object implements XYAnnotation
Modifier and Type | Field and Description |
---|---|
static float |
MIN_LABEL_X_SPACING |
static int |
STYLE_DEFAULT |
static int |
STYLE_NO_LABELS |
Constructor and Description |
---|
SymbolicNameAnnotation(SymbolicName symbolicName,
Collection all,
int style)
Creates an annotation for a symbolic name.
|
Modifier and Type | Method and Description |
---|---|
static List |
createAnnotations(Collection symbolicNames) |
static List |
createAnnotations(Collection symbolicNames,
int style) |
void |
draw(Graphics2D g2d,
XYPlot xyPlot,
Rectangle2D dataArea,
ValueAxis domainAxis,
ValueAxis rangeAxis,
int rendererIndex,
PlotRenderingInfo info) |
public static final int STYLE_DEFAULT
public static final int STYLE_NO_LABELS
public static final float MIN_LABEL_X_SPACING
public SymbolicNameAnnotation(SymbolicName symbolicName, Collection all, int style)
symbolicName
- style
- #STYLE_HEAVY
or #STYLE_LIGHT
public static List createAnnotations(Collection symbolicNames)
public static List createAnnotations(Collection symbolicNames, int style)
public void draw(Graphics2D g2d, XYPlot xyPlot, Rectangle2D dataArea, ValueAxis domainAxis, ValueAxis rangeAxis, int rendererIndex, PlotRenderingInfo info)