Difference between revisions of "Tabulation setShowTotalRespondents"

From Catglobe Wiki
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
{{HelpFiles}}  
 
{{HelpFiles}}  
  
===== Tabulation_setShowTotalRespondent =====
+
===== Tabulation_setShowTotalRespondent =====
  
 
Enables or disables the show total respondents row in table diagrams. This row is a statistical row shown at the bottom of the table.  
 
Enables or disables the show total respondents row in table diagrams. This row is a statistical row shown at the bottom of the table.  
Line 19: Line 19:
 
'''Examples'''  
 
'''Examples'''  
  
''Tabulation_setShowTotalRespondent(true);''
+
''Tabulation_setShowTotalRespondent(true);''  
  
''bool b = Tabulation_getShowTotalRespondent();''
+
''bool b = Tabulation_getShowTotalRespondent();''  
  
''if (b) print("Total respondents row is enabled and can be shown for table diagrams.");''
+
''if (b) print("Total respondents row is enabled and can be shown for table diagrams.");''  
  
''else print("Total respondents row is disabled and cannot be shown for table diagrams.");''
+
''else print("Total respondents row is disabled and cannot be shown for table diagrams.");''  
  
''//Result: Total respondents row is enabled and can be shown for table diagrams.''
+
''//Result: Total respondents row is enabled and can be shown for table diagrams.''  
 +
 
 +
''number a = createFrequenceDiagram("Civil_status");''
 +
 
 +
[[Image:SetShowTotalRespondent.jpg]]<br>
  
 
'''Availability'''  
 
'''Availability'''  

Latest revision as of 11:54, 29 December 2011



Tabulation_setShowTotalRespondent

Enables or disables the show total respondents row in table diagrams. This row is a statistical row shown at the bottom of the table.

Syntax

Tabulation_setShowTotalRespondent(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

Tabulation_setShowTotalRespondent(true);

bool b = Tabulation_getShowTotalRespondent();

if (b) print("Total respondents row is enabled and can be shown for table diagrams.");

else print("Total respondents row is disabled and cannot be shown for table diagrams.");

//Result: Total respondents row is enabled and can be shown for table diagrams.

number a = createFrequenceDiagram("Civil_status");

SetShowTotalRespondent.jpg

Availability

Version 5.8.1