Chart FX for Java 6.5

SoftwareFX.ChartFX.Annotation
Class AnnotationArc

java.lang.Object
  extended by SoftwareFX.ChartFX.Annotation.AnnotationObject
      extended by SoftwareFX.ChartFX.Annotation.AnnotationArc

public final class AnnotationArc
extends AnnotationObject

Provides access to the AnnotationArc object.

The AnnotationArc Class allows you to create annotation objects in the shape of an arc. All the supported members of this class are inherited from the AnnotationObject Class .

Below is an example of an annotation arc:

SoftwareFX.ChartFX.Annotation.AnnotationX annot = new SoftwareFX.ChartFX.Annotation.AnnotationX();
SoftwareFX.ChartFX.Annotation.AnnotationArc arc = new SoftwareFX.ChartFX.Annotation.AnnotationArc();
arc.getBorder().setColor(java.awt.Color.RED);
arc.getBorder().setWidth(4);
arc.setHeight(100);
arc.setWidth(-80);
arc.attach(2, 50);
annot.getList().add(arc);
chart1.getExtensions().add(annot);

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 arcs you create in the chart area.


Constructor Summary
AnnotationArc()
           
 
Method Summary
 
Methods inherited from class SoftwareFX.ChartFX.Annotation.AnnotationObject
attach, attach, attach, detach, flip, getAnchor, getBorder, getColor, getHeight, getLeft, getLink, getObjectBounds, getPattern, getTag, getTop, getURL, getURLTarget, getWidth, isAllowModify, isAllowMove, isDrawingArea, isPaintBefore, isVisible, refresh, rotate, setAllowModify, setAllowMove, setAnchor, setBorder, setColor, setDrawingArea, setHeight, setLeft, setObjectBounds, setPaintBefore, setPattern, setTag, setTop, setURL, setURLTarget, setVisible, setWidth
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationArc

public AnnotationArc()

http://www.softwarefx.com

2007 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.