Java org.jfree.chart.annotations CategoryTextAnnotation fields, constructors, methods, implement or subclass

Example usage for Java org.jfree.chart.annotations CategoryTextAnnotation fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.jfree.chart.annotations CategoryTextAnnotation.

The text is from its open source code.

Constructor

CategoryTextAnnotation(String text, Comparable category, double value)
Creates a new annotation to be displayed at the given location.

Method

voidsetCategoryAnchor(CategoryAnchor anchor)
Sets the category anchor point and sends an AnnotationChangeEvent to all registered listeners.
voidsetFont(Font font)
Sets the font for the annotation and sends an AnnotationChangeEvent to all registered listeners.
voidsetPaint(Paint paint)
Sets the paint for the annotation and sends an AnnotationChangeEvent to all registered listeners.
voidsetRotationAngle(double angle)
Sets the rotation angle and sends an AnnotationChangeEvent to all registered listeners.
voidsetTextAnchor(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.