GraphElement.setHint(type,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)
Add an effect to a GraphElement object. The available effects are HINT_EXPLODED (element separation, or explosion), HINT_SHINE (three-dimensional shading), and HINT_ALPHA (transparency).
Parameters
type GraphElement.HINT_EXPLODED,
GraphElement.HINT_SHINE, or
GraphElement.HINT_ALPHA
value For HINT_EXPLODED: 'true' or 'false'
For INT_SHINE: 'true' or 'false'
For HINT_ALPHA: float in range [0,1]
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"],["NY",200], ["NJ",300]];
graph = new EGraph();
var elem = new IntervalElement("State","Quantity");
elem.setHint(GraphElement.HINT_SHINE,'true')
graph.addElement(elem);

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