CR.7.36  SunShapeFrame

The SunShapeFrame object contains the shape styles for multidimensional “sun” (radial line) elements. To create a SunShapeFrame object, call the SunShapeFrame constructor.

var frame = new SunShapeFrame("m1","m2","m3");

You can pass a set of field names (e.g., 'm1', 'm2', 'm3') to the constructor, or specify this later using the inherited MultiShapeFrame.setFields(arr) property.

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,5,1,3], ["NY", 300,3,4,4]];

graph = new EGraph();

var frame = new SunShapeFrame();

var elem = new PointElement("State", "Quantity");

frame.setFields(["m1","m2","m3"]);

elem.setShapeFrame(frame);

graph.addElement(elem);

 

Full Name

inetsoft.graph.aesthetic.SunShapeFrame

See Also

DataSet, to use a Data Block or query as the dataset source.

<< CR.7.35 StarShapeFrame © 1996-2013 InetSoft Technology Corporation (v11.4) CR.7.37 BarShapeFrame >>