GraphElement.addDim(field)
GraphElement.setCollisionModifier(value)
GraphElement.setColorFrame(frame)
GraphElement.setInPlot(boolean)
GraphElement.setLabelPlacement(value)
GraphElement.setLineFrame(frame)
GraphElement.setHint(type,value)
GraphElement.setShapeFrame(frame)
GraphElement.setSizeFrame(frame)
GraphElement.setTextFrame(frame)
Add a dimension to a GraphElement object. A dimension is plotted on the X-axis, or on the outer coordinates of nested coordinates.
Parameter
field String containing name of dimension
Note: Script that modifies 'graph' should be placed at the element level. See Adding Element-Level Script in Report Scripting and Adding Component Script in Dashboard Scripting for more information.
Example (Report or Viewsheet)
dataset = [["State", "City", "Quantity"],
["NJ","Edison",2500],
["NJ","Piscataway",3000],
["NY","NY
City",5000],["NY","Yonkers",450]];
graph = new EGraph();
var elem = new IntervalElement("State","Quantity");
elem.addDim("City");
graph.addElement(elem);

See Also
DataSet, to use a Data Block or query as the dataset source.
| << CR.5.1 GraphElement | © 1996-2013 InetSoft Technology Corporation (v11.4) | GraphElement.addVar(field) >> |