GraphForm.setInPlot(boolean)
For forms that use relative positioning (values or tuples), specifies whether the chart should be resized so that forms remain fully visible in the chart area.
Type
boolean true: resize chart
false: do not resize chart (crop forms)
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 form = new LineForm();
var elem = new IntervalElement("State", "Quantity");
form.addValues(['NJ',0]);
form.addValues(['NJ',300]);
form.addValues(['NY',400]);
form.setInPlot(true);
form.setFill(true);
graph.addForm(form);
graph.addElement(elem);

See Also
AxisSpec.setInPlot(boolean), to adjust plot boundaries to include graph labels.
GraphElement.setInPlot(boolean), to adjust plot boundaries to include graph elements.
DataSet, to use a Data Block or query as the dataset source.
| << GraphForm.setFill(boolean) | © 1996-2013 InetSoft Technology Corporation (v11.5) | GraphForm.setLine(value) >> |