CR.7.39  ProfileShapeFrame

The ProfileShapeFrame object contains the shape styles for multi-dimensional “mini-line chart” elements. To create a ProfileShapeFrame object, call the ProfileShapeFrame constructor.

var frame = new ProfileShapeFrame("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. The dimensions are mapped to the line segments from left to right.

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 ProfileShapeFrame();

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

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

elem.setShapeFrame(frame);

graph.addElement(elem);

 

Full Name

inetsoft.graph.aesthetic.ProfileShapeFrame

See Also

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

<< CR.7.38 PieShapeFrame © 1996-2013 InetSoft Technology Corporation (v11.4) CR.7.40 TextFrame >>