Example usage for Java org.jfree.chart.annotations CategoryTextAnnotation fields, constructors, methods, implement or subclass
The text is from its open source code.
CategoryTextAnnotation(String text, Comparable category, double value) Creates a new annotation to be displayed at the given location. |
void | setCategoryAnchor(CategoryAnchor anchor) Sets the category anchor point and sends an AnnotationChangeEvent to all registered listeners. |
void | setFont(Font font) Sets the font for the annotation and sends an AnnotationChangeEvent to all registered listeners. |
void | setPaint(Paint paint) Sets the paint for the annotation and sends an AnnotationChangeEvent to all registered listeners. |
void | setRotationAngle(double angle) Sets the rotation angle and sends an AnnotationChangeEvent to all registered listeners. |
void | setTextAnchor(TextAnchor anchor) Sets the text anchor (the point on the text bounding rectangle that is aligned to the (x, y) coordinate of the annotation) and sends an AnnotationChangeEvent to all registered listeners. |