com.ijchart.xychart.annotation
Interface ICategoryAnnotation

All Superinterfaces:
IAnnotation
All Known Implementing Classes:
CategoryLineAnnotation, CategoryTextAndPointerAnnotation, CategoryTextAnnotation

public interface ICategoryAnnotation
extends IAnnotation

Title: IJChart

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

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(CategoryAxis categoryAxis, AbstractValueAxis valueAxis, RectangleEdge valueAxisEdge, java.awt.geom.Rectangle2D dataArea, ChartOrientation orientation, AnnotationShapeCollection annotationShapes)
           Draws the annotation.
 

Method Detail

drawAnnotation

void drawAnnotation(CategoryAxis categoryAxis,
                    AbstractValueAxis valueAxis,
                    RectangleEdge valueAxisEdge,
                    java.awt.geom.Rectangle2D dataArea,
                    ChartOrientation orientation,
                    AnnotationShapeCollection annotationShapes)
Draws the annotation.

Parameters:
categoryAxis - CategoryAxis The category axis (null not permitted).
valueAxis - AbstractValueAxis The value axis (null not permitted).
valueAxisEdge - RectangleEdge The value 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).