com.ijchart.xychart.annotation
Interface IXYAnnotation

All Superinterfaces:
IAnnotation
All Known Implementing Classes:
XYImageAnnotation, XYLineAnnotation, XYPointerAnnotation, XYShapeAnnotation, XYTextAnnotation

public interface IXYAnnotation
extends IAnnotation

Title: IJChart

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

Description: a chart library for the Java(tm) platform.

Copyright: Copyright (c) 2013

Company:

Version:
1.0
Author:
zhang feng min,shanghai china. Contract me by email.

Method Summary
 void drawAnnotation(AbstractValueAxis xAxis, RectangleEdge xAxisEdge, AbstractValueAxis yAxis, RectangleEdge yAxisEdge, java.awt.geom.Rectangle2D dataArea, ChartOrientation orientation, AnnotationShapeCollection annotationShapes)
           Draws the annotation.
 

Method Detail

drawAnnotation

void drawAnnotation(AbstractValueAxis xAxis,
                    RectangleEdge xAxisEdge,
                    AbstractValueAxis yAxis,
                    RectangleEdge yAxisEdge,
                    java.awt.geom.Rectangle2D dataArea,
                    ChartOrientation orientation,
                    AnnotationShapeCollection annotationShapes)
Draws the annotation.

Parameters:
xAxis - AbstractValueAxis The x-axis (null not permitted).
xAxisEdge - RectangleEdge The x-axis edge (null not permitted).
yAxis - AbstractValueAxis The y-axis (null not permitted).
yAxisEdge - RectangleEdge The y-axis edge (null not permitted).
dataArea - Rectangle2D The chart data area (null not permitted).
orientation - ChartOrientation The chart orientation (null not permitted).
annotationShapes - AnnotationShapeCollection Collects information about the annotation (null not permitted).