CR.8.5 TagForm
The TagForm object contains information for a tag form. A tag is a label that is associated with a particular object and is automatically positioned to avoid other objects.
To create a TagForm object, call the TagForm constructor:
var tag = new TagForm();
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],["NY",305]];
graph = new EGraph();
var elem = new PointElement("State", "Quantity");
var form1 = new TagForm();
var form2 = new TagForm();
form1.setLabel("label1");
form1.setValues(['NY', 300]);
form2.setLabel("label2");
form2.setValues(['NY', 305]);
graph.addForm(form1);
graph.addForm(form2);
graph.addElement(elem);
Full Name
inetsoft.graph.guide.form.TagForm
See Also
DataSet, to use a Data Block or query as the dataset source.
| << LabelForm.setValues(value) | © 1996-2013 InetSoft Technology Corporation (v11.4) | CR.8.6 ShapeForm >> |