|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XYChart
Interface for the XY chart, which can show nodes with x/y
coordinates from a variable number of datasets.
It is a standard X/Y diagram where both axes
represent real numbers. A diagram may contain several
datasets (a sequence of data points), and data points from
one dataset can be linked to their predecessors/successors
with lines.
Method Summary | |
---|---|
void |
addSetValue(int idx,
String elementID,
double xvalue,
double yvalue)
Adds a new node to the given dataset (entity) at the specified coordinates. |
String |
getDescription(int section,
String id)
Gets the description of a given node. |
double[] |
getValues(int idx,
String elementID)
Returns the values of section idx, element elementID |
boolean |
isNodesShown()
Gets the current visibility of the nodes objects. |
void |
removeDataSet(int id)
Removes the whole dataset specified by the id and all its nodes. |
void |
setDescription(int section,
String id,
String description)
Sets the description of a node. |
void |
setNodesShown(boolean b)
Enables/disables the visibility of all nodes. |
Methods inherited from interface org.askalon.graph.chart.XYXMLChart |
---|
getLinkLineWidth, getNodeType, setLinkLineWidth, setNodeType |
Methods inherited from interface org.askalon.graph.chart.SectionChart |
---|
getSectionColor, getSectionCount, getSectionName, isVisible, setSectionColor, setSectionName, setVisible |
Methods inherited from interface org.askalon.graph.chart.Chart |
---|
getChartConfiguration, getChartMenu, getChartName, getLegend, getUnit, getXAxisText, getYAxisText, isDisableUpdate, isEdgesVisible, refreshConfiguration, resetConfiguration, setChartConfiguration, setDisableUpdate, setEdgesVisible, setUnit, setXAxisText, setYAxisText |
Methods inherited from interface org.askalon.graph.chart.base.Cleanable |
---|
cleanUp |
Method Detail |
---|
void addSetValue(int idx, String elementID, double xvalue, double yvalue)
idx
- id of the entity, to which the node should be addedelementID
- id of the nodexvalue
- x-coordinate of the nodeyvalue
- y-coordinate of the nodedouble[] getValues(int idx, String elementID)
idx
- elementID
-
void removeDataSet(int id)
id
- the id of the dataset to removevoid setDescription(int section, String id, String description)
section
- the id of the dataset containing the nodeid
- the id of the nodedescription
- the new description text for this nodeString getDescription(int section, String id)
section
- the id of the dataset containing the nodeid
- the id of the node
void setNodesShown(boolean b)
b
- true to show the nodes, false to hide themisNodesShown()
boolean isNodesShown()
setNodesShown(boolean)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Part of: |
ASKALON Visualisation Diagrams |