org.jfree.chart.annotations
Interface XYAnnotation

All Superinterfaces:
Annotation
All Known Implementing Classes:
XYLineAnnotation, XYTextAnnotation

public interface XYAnnotation
extends Annotation

The interface that must be supported by annotations that are to be added to an XYPlot.

Author:
David Gilbert

Method Summary
 void draw(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, ValueAxis domainAxis, ValueAxis rangeAxis)
          Draws the annotation.
 

Method Detail

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.