GraphElement.setShapeFrame(frame)
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)
Specifies the aesthetic shape treatment for the chart elements. A ShapeFrame can shape-code chart elements by value, or simply specify a static shape style.
Parameter
frame a ShapeFrame object
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","Quantity","m1","m2", "m3"],["NJ",200,6,3,4],["NY",300,8,2,5]];
graph = new EGraph();
var frame = new StarShapeFrame();
var elem = new PointElement("State", "Quantity");
frame.setFields(["m1", "m2", "m3"]);
elem.setShapeFrame(frame);
graph.addElement(elem);

See Also
DataSet, to use a Data Block or query as the dataset source.
| << GraphElement.setHint(type,value) | © 1996-2013 InetSoft Technology Corporation (v11.5) | GraphElement.setSizeFrame(frame) >> |