|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.graph.EGraph
public class EGraph
An EGraph is a graph definition. A graph is contructed by specifying the scales, coordinates, and aesthetics. If scale or coordinate are not specified, a default will be created from the graph element definition.
| Constructor Summary | |
|---|---|
EGraph()
Create an instance of EGraph. |
|
| Method Summary | |
|---|---|
void |
addElement(GraphElement elem)
Add a graph element to this graph. |
void |
addForm(GraphForm form)
Add a form guide to this graph. |
void |
clear()
Clear all settings and restore to the initial mode. |
void |
clearElements()
Remove all graph elements. |
void |
clearForms()
Remove all form guides. |
Object |
clone()
Make a copy of this object. |
GGraph |
createGGraph(Coordinate coord,
DataSet data)
Create a geometry graph from coordinate and data set. |
Coordinate |
getCoordinate()
Get the coordinate to be used for this graph. |
GraphElement |
getElement(int idx)
Get the specified graph element. |
int |
getElementCount()
Get the number of graph elements defined in this graph. |
GraphForm |
getForm(int idx)
Get the specified form guide. |
int |
getFormCount()
Get the number of forms defined in this graph. |
int |
getLegendLayout()
Get the layout position option of the legends. |
double |
getLegendPreferredSize()
Get the preferred width or height of the legends. |
Scale |
getScale(String col)
Get the scale used for mapping values for a column. |
VisualFrame[] |
getVisualFrames()
Get all aesthetic frames in the graph. |
TitleSpec |
getX2TitleSpec()
Get the secondary x title specification. |
TitleSpec |
getXTitleSpec()
Get the x title specification. |
TitleSpec |
getY2TitleSpec()
Get the secondary y title specification. |
TitleSpec |
getYTitleSpec()
Get the y title specification. |
void |
removeElement(int idx)
Remove the graph element at the specified position. |
void |
removeForm(int idx)
Remove the form at the specified position. |
void |
setCoordinate(Coordinate coord)
Set the coordinate to be used for this graph. |
void |
setLegendLayout(int option)
Set the layout position option for the legends. |
void |
setLegendPreferredSize(double preferredSize)
Set the preferred size for the legends. |
void |
setScale(String col,
Scale scale)
Set the scale used for mapping values for a column. |
void |
setX2TitleSpec(TitleSpec tspec)
Set the secondary x title specification. |
void |
setXTitleSpec(TitleSpec tspec)
Set the x title specification. |
void |
setY2TitleSpec(TitleSpec tspec)
Set the secondary y title specification. |
void |
setYTitleSpec(TitleSpec tspec)
Set the y title specification. |
String |
toString()
Get the string presentation. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EGraph()
| Method Detail |
|---|
public void addElement(GraphElement elem)
public GraphElement getElement(int idx)
public int getElementCount()
public void removeElement(int idx)
public void clearElements()
public void setCoordinate(Coordinate coord)
public Coordinate getCoordinate()
public void setScale(String col,
Scale scale)
col - the column identifier of a dataset.scale - the scale applied to the column.public Scale getScale(String col)
col - the column identifier of a dataset.
public void addForm(GraphForm form)
public GraphForm getForm(int idx)
public int getFormCount()
public void removeForm(int idx)
public void clearForms()
public int getLegendLayout()
public void setLegendLayout(int option)
option - one of GraphConstants.TOP, LEFT, BOTTOM, RIGHT, IN_PLACE.public double getLegendPreferredSize()
public void setLegendPreferredSize(double preferredSize)
public void setXTitleSpec(TitleSpec tspec)
public TitleSpec getXTitleSpec()
public void setX2TitleSpec(TitleSpec tspec)
public TitleSpec getX2TitleSpec()
public void setYTitleSpec(TitleSpec tspec)
public TitleSpec getYTitleSpec()
public void setY2TitleSpec(TitleSpec tspec)
public TitleSpec getY2TitleSpec()
public VisualFrame[] getVisualFrames()
public void clear()
public String toString()
toString in class Objectpublic Object clone()
clone in class Object
public GGraph createGGraph(Coordinate coord,
DataSet data)
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||