LineElement.setEndArrow(boolean)

Specifies whether an arrow should be drawn at the end of the line (last point).

Parameters

boolean true: draw arrow

false: do not draw arrow

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.setEndArrow(true);

graph.addElement(elem);

See Also

DataSet, to use a Data Block or query as the dataset source.

<< LineElement.setClosed(boolean) © 1996-2013 InetSoft Technology Corporation (v11.4) LineElement.setStackGroup(boolean) >>