com.softwarefx.chartfx.desktop.annotation
Class AnnotationCircle
java.lang.Object
com.softwarefx.chartfx.desktop.annotation.AnnotationObject
com.softwarefx.chartfx.desktop.annotation.AnnotationCircle
- All Implemented Interfaces:
- Serializable
public class AnnotationCircle
- extends AnnotationObject
- implements Serializable
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.desktop.annotation.Annotations annot = new com.softwarefx.chartfx.desktop.annotation.Annotations();
com.softwarefx.chartfx.desktop.annotation.AnnotationCircle circle = new com.softwarefx.chartfx.desktop.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.
- See Also:
- Serialized Form
Methods inherited from class com.softwarefx.chartfx.desktop.annotation.AnnotationObject |
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.