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
No edit summary
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:Include total functions]]
[[Category:Include_total_functions]]
{{HelpFiles}}


=====setTotal=====
===== setTotal =====


Enables or disables the total row which can be shown for table diagrams.
Enables or disables the total row which can be shown for table diagrams.  


'''Syntax'''
'''Syntax'''  


setTotal(''enabled'')
setTotal(''enabled'')  


'''Arguments'''
'''Arguments'''  


''enabled:'' Is a boolean expression. If true the row will be included, if false the row will not be included
''enabled:'' Is a boolean expression. If true the row will be included, if false the row will not be included  


'''Return type'''
'''Return type'''  


empty
empty  


'''Examples'''
'''Examples'''


''setTotal(true);''
<span style="color:#DF8621"> Example for cross 1x0 </span>
<source lang="javascript">
DCS_use(15645932);
setTotal(false) ;
createCrossDiagram({"Gender"},{});
</source>


'''Availability'''
[[File:2018-11-12_09-18-41.png]]


Version 5.4
 
__NOTOC__
<span style="color:#DF8621"> Example for cross 2x1 </span>
<!-- imported from file: 4208.htm-->
<source lang="javascript">
DCS_use(15639259);
setTotal(false) ;
createCrossDiagram({"Gender", "Age"},{"Q3"});
</source>
[[File:2018-11-12_9-52-12.png]]

Latest revision as of 08:27, 16 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"});

Contents