|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IAnnotation
A single annotation visible on a graph. An annotation may be visible on overview graphs, unit graphs, or both.
| Method Summary | |
|---|---|
boolean |
isLegendIconAsBox()
Returns whether this annotation's legend icon should be shown as a box instead of a line. |
boolean |
isVisibleOnChartsForUnit(String guid)
Returns whether this annotation should be visible on graphs shown for a specific unit. |
boolean |
isVisibleOnOverview()
Returns whether this annotation should be visible on overview graphs. |
XYAnnotation |
toXYAnnotation(XYPlot plot,
Color color,
IParseContext context)
Creates a JFreeChart XYAnnotation for this annotation. |
| Method Detail |
|---|
XYAnnotation toXYAnnotation(XYPlot plot,
Color color,
IParseContext context)
XYAnnotation for this annotation.
plot - the plot the XYAnnotation is created forcolor - the annotation's color on the plotcontext - the current fight's parse contextboolean isVisibleOnChartsForUnit(String guid)
boolean isVisibleOnOverview()
boolean isLegendIconAsBox()
Returns whether this annotation's legend icon should be shown as a box instead of a line.
Note that this doesn't really make sense for single annotations. Instead, as annotations
are grouped by AnnotationGroups, those take on the value returned here.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||