com.jrefinery.chart.annotations
Interface XYAnnotation
- All Superinterfaces:
- Annotation
- All Known Implementing Classes:
- XYTextAnnotation
- public interface XYAnnotation
- extends Annotation
A plot annotation that works with XYPlots.
Method Summary |
void |
draw(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D dataArea,
ValueAxis domainAxis,
ValueAxis rangeAxis)
Draws the annotation. |
draw
public void draw(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D dataArea,
ValueAxis domainAxis,
ValueAxis rangeAxis)
- Draws the annotation.
- Parameters:
g2
- The graphics device.dataArea
- The data area.domainAxis
- The domain axis.rangeAxis
- The range axis.