Difference between revisions of "SetTotal"

From Catglobe Wiki
Jump to: navigation, search
Line 26: Line 26:
  
 
[[File:2018-11-12_09-18-41.png]]
 
[[File:2018-11-12_09-18-41.png]]
 +
<source lang="javascript">
 +
DCS_use(15639259);
 +
setTotal(false) ;
 +
createCrossDiagram({"Gender", "Age"},{"Q3"});
 +
</source>
 +
[[File:2018-11-12_9-52-12.png]]

Revision as of 04:59, 12 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

DCS_use(15645932);
setTotal(false) ;
createCrossDiagram({"Gender"},{});

2018-11-12 09-18-41.png

DCS_use(15639259);
setTotal(false) ;
createCrossDiagram({"Gender", "Age"},{"Q3"});

2018-11-12 9-52-12.png