CR.6.5 ParallelCoord
The ParallelCoord object contains parallel coordinates against which data can be represented. To create a ParallelCoord object, pass a set of Scale objects to the ParallelCoord constructor:
var rect = new ParallelCoord(scale1,scale2,...);
You can pass a set of Scale objects (e.g., 'scale1', 'scale2', etc.) to the constructor, or specify this later using the ParallelCoord.setScales(scales) property.
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 = [["Quantity","Total","Returns"],[200,800,10],[175,1000,15],[50,300,20]];
graph = new EGraph();
var elem = new LineElement();
var qscale = new LinearScale("Quantity");
var tscale = new LinearScale("Total");
var rscale = new LinearScale("Returns");
var coord = new ParallelCoord(qscale,tscale,rscale);
elem.addDim("Quantity");
elem.addDim("Total");
elem.addDim("Returns");
graph.addElement(elem);
graph.setCoordinate(coord);

Full Name
inetsoft.graph.coord.ParallelCoord
ParallelCoord: setScales
Inherits from
See Also
DataSet, to use a Data Block or query as the dataset source.
Appendix SC.12.2, Polar Coordinates, for a walkthrough example of parallel coordinates.
| << CR.6.4 Rect25Coord | © 1996-2013 InetSoft Technology Corporation (v11.5) | ParallelCoord.setScales(scales) >> |