public interface CategoryAnnotation extends Annotation
CategoryPlot. Note that, in JFreeChart 1.0.14, a non-compatible
change has been made to this interface (it now extends the Annotation
interface to support change notifications).| Modifier and Type | Method and Description |
|---|---|
void |
draw(java.awt.Graphics2D g2,
CategoryPlot plot,
java.awt.geom.Rectangle2D dataArea,
CategoryAxis domainAxis,
ValueAxis rangeAxis)
Draws the annotation.
|
addChangeListener, removeChangeListenervoid draw(java.awt.Graphics2D g2, CategoryPlot plot, java.awt.geom.Rectangle2D dataArea, CategoryAxis domainAxis, ValueAxis rangeAxis)
g2 - the graphics device.plot - the plot.dataArea - the data area.domainAxis - the domain axis.rangeAxis - the range axis.