PolarCoord.setType(value)
Specifies the type of polar transformation.
Parameter
value PolarCoord.THETA (use only angle)
PolarCoord.THETA_RHO (use angle and radius)
PolarCoord.RHO (use only radius)
PolarCoord.PLUS (angle & radius, with hole)
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"], ["CA",200], ["NY",300]];
graph = new EGraph();
var elem = new IntervalElement("Quantity");
var yscale = new LinearScale("Quantity");
var rect = new RectCoord(null, yscale);
var polar = new PolarCoord(rect);
var frame = new CategoricalColorFrame();
var range = new StackRange();
polar.setType(PolarCoord.THETA);
frame.setField("State");
elem.setColorFrame(frame);
elem.setCollisionModifier(GraphElement.MOVE_STACK);
yscale.setScaleRange(range);
var spec = new AxisSpec();
spec.setLabelVisible(false);
spec.setTickVisible(false);
spec.setLineVisible(false);
yscale.setAxisSpec(spec);
graph.setCoordinate(polar);
graph.addElement(elem);

Inherits from
See Also
DataSet, to use a Data Block or query as the dataset source.
| << CR.6.2 PolarCoord | © 1996-2013 InetSoft Technology Corporation (v11.4) | PolarCoord.setCoordinate(coord) >> |