CR.5.2 IntervalElement
The IntervalElement object contains the visual elements for bar charts and range visualization. To create a new IntervalElement object, call the IntervalElement constructor.
var elem = new IntervalElement("State", "Quantity");
You can pass a set of fields as input to the constructor (e.g., 'State', 'Quantity'), or specify these later using the addDim() and addVar() methods.
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"], ["NJ",200], ["NY",300]];
graph = new EGraph();
var elem = new IntervalElement("State", "Quantity");
graph.addElement(elem);

Full Name
inetsoft.graph.element.IntervalElement
IntervalElement: addInterval(), setStackGroup, setStackNegative
See Also
DataSet, to use a Data Block or query as the dataset source.
| << GraphElement.setTextureFrame(frame) | © 1996-2013 InetSoft Technology Corporation (v11.5) | IntervalElement.addInterval(lower,upper) >> |