Chart FX 7 for Java Server

com.softwarefx.chartfx.server.annotation
Class AnnotationArc

java.lang.Object
  extended by com.softwarefx.chartfx.server.annotation.AnnotationObject
      extended by com.softwarefx.chartfx.server.annotation.AnnotationArc

public 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:

com.softwarefx.chartfx.server.annotation.Annotations annot = new com.softwarefx.chartfx.server.annotation.Annotations();
com.softwarefx.chartfx.server.annotation.AnnotationArc arc = new com.softwarefx.chartfx.server.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 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
 
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

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.