GraphElement.setLabelPlacement(value)
GraphElement.setCollisionModifier(value)
GraphElement.setColorFrame(frame)
GraphElement.setInPlot(boolean)
GraphElement.setLabelPlacement(value)
GraphElement.setLineFrame(frame)
GraphElement.setHint(type,value)
GraphElement.setShapeFrame(frame)
GraphElement.setSizeFrame(frame)
GraphElement.setTextFrame(frame)
Specifies the location of element labels.
Parameter
value GraphConstants.BOTTOM (below chart)
GraphConstants.TOP (above chart
GraphConstants.RIGHT (right of chart)
GraphConstants.LEFT (left of chart)
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 PointElement("State", "Quantity");
var frame = new DefaultTextFrame();
frame.setField("Quantity")
elem.setTextFrame(frame);
elem.setLabelPlacement(GraphConstants.BOTTOM);
graph.addElement(elem);

See Also
DataSet, to use a Data Block or query as the dataset source.
| << GraphElement.setInPlot(boolean) | © 1996-2013 InetSoft Technology Corporation (v11.4) | GraphElement.setLineFrame(frame) >> |