Style Intelligence v12.0

inetsoft.graph.element
Class AreaElement

java.lang.Object
  extended by inetsoft.graph.Graphable
      extended by inetsoft.graph.element.GraphElement
          extended by inetsoft.graph.element.StackableElement
              extended by inetsoft.graph.element.LineElement
                  extended by inetsoft.graph.element.AreaElement
All Implemented Interfaces:
Cloneable

public class AreaElement
extends LineElement

An area element visualizes data as filled areas from data points to the X axis. The bottom of the area can also be defined by another column, so the space between the base line and data points are filled.


Field Summary
 
Fields inherited from class inetsoft.graph.element.GraphElement
DODGE_SYMMETRIC, HINT_ALPHA, HINT_CLIP, HINT_EXPLODED, HINT_MAX_COUNT, HINT_MAX_HEIGHT, HINT_MAX_WIDTH, HINT_SHINE, MOVE_CENTER, MOVE_DODGE, MOVE_JITTER, MOVE_NONE, MOVE_STACK, STACK_SYMMETRIC
 
Constructor Summary
AreaElement()
          Create an empty element.
AreaElement(String field1)
          Create a area element for a single column (1d).
AreaElement(String field1, String field2)
          Create a area element for two columns (2d).
AreaElement(String field1, String field2, String field3)
          Create a area element for three columns (3d).
 
Method Summary
 void addInterval(String col1, String col2)
          Add an interval to this element.
 void addVar(String col)
          Add a variable to be plotted using this element.
 void clearVars()
          Remove all variables.
 String[] getVars()
          Get all the variables.
 void removeVar(int idx)
          Remove the variable at the specified index.
 
Methods inherited from class inetsoft.graph.element.LineElement
getGroupFields, getSortFields, isClosed, isEndArrow, isStartArrow, setClosed, setEndArrow, setGroupFields, setSortFields, setStartArrow, sortData, supportsFrame
 
Methods inherited from class inetsoft.graph.element.StackableElement
isStackGroup, isStackNegative, setStackGroup, setStackNegative
 
Methods inherited from class inetsoft.graph.element.GraphElement
addDim, clearDims, clone, createVisualModel, equalsContent, getCollisionModifier, getColorFrame, getComparator, getDim, getDimCount, getDims, getEndRow, getLabelPlacement, getLineFrame, getRootColIndex, getRootRowIndex, getRootRowIndexes, getShapeFrame, getSizeFrame, getStartRow, getTextFrame, getTextSpec, getTextureFrame, getVar, getVarCount, getVisualDataSet, getVisualFrames, isInPlot, removeDim, setCollisionModifier, setColorFrame, setComparator, setEndRow, setInPlot, setLabelPlacement, setLineFrame, setShapeFrame, setSizeFrame, setStartRow, setTextFrame, setTextSpec, setTextureFrame, setVisualDataSet, toString
 
Methods inherited from class inetsoft.graph.Graphable
getHint, getHints, setHint, setHints
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AreaElement

public AreaElement()
Create an empty element. Dims and vars must be added explicitly.


AreaElement

public AreaElement(String field1)
Create a area element for a single column (1d).


AreaElement

public AreaElement(String field1,
                   String field2)
Create a area element for two columns (2d).


AreaElement

public AreaElement(String field1,
                   String field2,
                   String field3)
Create a area element for three columns (3d).

Method Detail

addVar

public void addVar(String col)
Add a variable to be plotted using this element.

Overrides:
addVar in class GraphElement
Parameters:
col - the variable identifier.

removeVar

public void removeVar(int idx)
Remove the variable at the specified index.

Overrides:
removeVar in class GraphElement
Parameters:
idx - the dim index.

addInterval

public void addInterval(String col1,
                        String col2)
Add an interval to this element.

Parameters:
col1 - the lower bound of the interval.
col2 - the upper bound of the interval.

clearVars

public void clearVars()
Remove all variables.

Overrides:
clearVars in class GraphElement

getVars

public String[] getVars()
Get all the variables.

Overrides:
getVars in class GraphElement

Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.