FacetCoord.setInnerCoordinates(coord)
Specifies a RectCoord object, or array of RectCoord objects, to use for the inner coordinates of the facet graph. If an array is specified, each inner coordinate set is plotted independently. The 'innerCoordinates' property can also be specified as an argument to the constructor.
Parameter
coord Array of RectCoord objects
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", "City", "Product", "Quantity"],["NJ", "Piscataway", "P1", 200],["NJ", "Edison", "P2", 100],["NY", "NYC", "P1", 300]];
graph = new EGraph();
var elem = new IntervalElement("City", "Quantity");
var state = new CategoricalScale("State");
var city = new CategoricalScale("City");
var product = new CategoricalScale("Product");
var quantity = new LinearScale("Quantity");
var inner = new RectCoord(city, quantity);
var outer = new RectCoord(state, product);
var coord = new FacetCoord();
coord.setInnerCoordinates([inner]);
coord.setOuterCoordinate(outer);
graph.setCoordinate(coord);
graph.addElement(elem);

Inherits from
See Also
DataSet, to use a Data Block or query as the dataset source.
| << CR.6.7 FacetCoord | © 1996-2013 InetSoft Technology Corporation (v11.4) | FacetCoord.setOuterCoordinate(coord) >> |