LineElement.setClosed(boolean)
Specifies whether the line object should be automatically closed (i.e., endpoints connected).
Type
boolean true: close the figure
false: do not close
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",100],["NY",300],["PA",200]];
graph = new EGraph();
elem = new LineElement("State", "Quantity")
elem.setClosed(true);
graph.addElement(elem);

See Also
DataSet, to use a Data Block or query as the dataset source.
| << CR.5.3 LineElement | © 1996-2013 InetSoft Technology Corporation (v11.5) | LineElement.setEndArrow(boolean) >> |