VineShapeFrame.setEndAngle(value)

The angle to which the maximum angle in the data is mapped. (Note that the max property of any applied scale also affects the displayed angle.)

Parameter

value the angle in degrees

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,90,25,50],["NY", 300,30,15,15]];

graph = new EGraph();

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

var frame = new VineShapeFrame();

var mscale = new LinearScale();

var rscale = new LinearScale();

mscale.setMin(0);

mscale.setMax(5);

rscale.setMin(0);

rscale.setMax(90);

frame.setScales([rscale, mscale, mscale]);

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

frame.setStartAngle(0);

frame.setEndAngle(90);

elem.setShapeFrame(frame);

graph.addElement(elem);

 

See Also

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

<< CR.7.33 VineShapeFrame © 1996-2013 InetSoft Technology Corporation (v11.5) VineShapeFrame.setStartAngle(value) >>