Difference between revisions of "SetTotal"
Line 1: | Line 1: | ||
− | + | [[Category:Diagram_configuring_CGScript_functions]] | |
===== setTotal ===== | ===== setTotal ===== |
Revision as of 11:04, 15 November 2018
setTotal
Enables or disables the total row which can be shown for table diagrams.
Syntax
setTotal(enabled)
Arguments
enabled: Is a boolean expression. If true the row will be included, if false the row will not be included
Return type
empty
Examples
Example for cross 1x0
DCS_use(15645932);
setTotal(false) ;
createCrossDiagram({"Gender"},{});
Example for cross 2x1
DCS_use(15639259);
setTotal(false) ;
createCrossDiagram({"Gender", "Age"},{"Q3"});