com.softwarefx.chartfx.server.annotation
Class AnnotationCircle
java.lang.Object
com.softwarefx.chartfx.server.annotation.AnnotationObject
com.softwarefx.chartfx.server.annotation.AnnotationCircle
public class AnnotationCircle
- extends AnnotationObject
Provides access to the AnnotationCircle object.
The AnnotationCircle
Class
allows you to create annotation objects in the shape of circles. All the supported members of this
Class
are inherited from the AnnotationObject
Class
.
Below is an example of an annotation circle:
com.softwarefx.chartfx.server.annotation.Annotations annot = new com.softwarefx.chartfx.server.annotation.Annotations();
com.softwarefx.chartfx.server.annotation.AnnotationCircle circle = new com.softwarefx.chartfx.server.annotation.AnnotationCircle();
annot.getList().add(circle);
chart1.getExtensions().add(annot);
circle.setColor(java.awt.Color.white);
circle.setHeight(40);
circle.setWidth(40);
circle.attach(3, 70);
circle.getBorder().setColor(java.awt.Color.red);
Note: Remember you can assign negative values to both the Width and Height properties. This will allow you to set the appropriate orientation to the ellipses and circles you create in the chart area.
Methods inherited from class com.softwarefx.chartfx.server.annotation.AnnotationObject |
attach, attach, attach, detach, dispose, flip, getAnchor, getBorder, getColor, getHeight, getLeft, getLink, getObjectBounds, getPattern, getTag, getTop, getWidth, isAllowModify, isAllowMove, isPaintBefore, isPlotAreaOnly, isVisible, refresh, rotate, setAllowModify, setAllowMove, setAnchor, setBorder, setColor, setHeight, setLeft, setObjectBounds, setPaintBefore, setPattern, setPlotAreaOnly, setTag, setTop, setVisible, setWidth |
AnnotationCircle
public AnnotationCircle()
2008 Software FX, Inc. All Rights Reserved. Chart FX is a registered trademark of Software FX, Inc
All other names are trademarks or registered trademarks of their respective owners.