net.sf.statcvs.charts
public class SymbolicNameAnnotation extends java.lang.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,
java.util.Collection all,
int style)
Creates an annotation for a symbolic name.
|
Modifier and Type | Method and Description |
---|---|
static java.util.List |
createAnnotations(java.util.Collection symbolicNames) |
static java.util.List |
createAnnotations(java.util.Collection symbolicNames,
int style) |
void |
draw(java.awt.Graphics2D g2d,
XYPlot xyPlot,
java.awt.geom.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, java.util.Collection all, int style)
symbolicName
- style
- #STYLE_HEAVY
or #STYLE_LIGHT
public static java.util.List createAnnotations(java.util.Collection symbolicNames)
public static java.util.List createAnnotations(java.util.Collection symbolicNames, int style)
public void draw(java.awt.Graphics2D g2d, XYPlot xyPlot, java.awt.geom.Rectangle2D dataArea, ValueAxis domainAxis, ValueAxis rangeAxis, int rendererIndex, PlotRenderingInfo info)