CreateCrossDiagram

From Catglobe Wiki
Revision as of 09:47, 7 March 2011 by 127.0.0.1 (talk | contribs) (jrfconvert import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



createCrossDiagram

Creates a cross diagram from the axis names specified as string arrays for rows and columns. A unique id is returned when a diagram is added.

Syntax

createCrossDiagram(rowAxisNames, columnAxisNames)

Arguments

rowAxisNames: An array expression. This array contains the names of the axes which are used for the rows in the cross diagram

columnAxisNames: An array expression. This array contains the names of the axes which are used for the columns in the cross diagram.

One of these array can be empty and the function will then basically work as a 'createFrequenceDiagram' function.

Return type

number: Id of the added diagram. Diagram id starts from 1 and will increase by one for each time one of the functions createFrequenceDiagram or createCrossDiagram are called. The ids will keep on increasing for the duration of the script

Examples

number a = createCrossDiagram({"Q5_SQ_3"},{"Q5_SQ_5"});

number b = createCrossDiagram({"Q5_SQ_3"},{});

Availability

Version 5.4