Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

SetTotal: Difference between revisions

From Catglobe Wiki
Cg van (talk | contribs)
No edit summary
No edit summary
Line 19: Line 19:
'''Examples'''  
'''Examples'''  


''setTotal(false);''
<source lang="javascript">
DCS_use(15645932);
setTotal(false) ;
createCrossDiagram({"Gender"},{});
</source>


''bool b = getTotal();''
[[File:2018-11-12_09-18-41.png]]
 
''if (b) print("Total row is enabled and can be shown for table diagrams.");''
 
''else print("Total row is disabled and cannot be shown for table diagrams.");''
 
''//Result: Total row is disabled and cannot be shown for table diagrams. ''
 
'''Availability'''
 
Version 5.4 __NOTOC__ <!-- imported from file: 4208.htm-->
 
[[Category:Include_total_functions]]

Revision as of 02:48, 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"},{});

Contents