MultiShapeFrame.setFields(arr)
Specifies the columns containing the shape specifications for the graphical elements.
Parameter
arr Array of Strings
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.
| << CR.7.32 MultiShapeFrame | © 1996-2013 InetSoft Technology Corporation (v11.5) | MultiShapeFrame.setScales(arr) >> |