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.

Tabulation setShowTotalRespondents: Difference between revisions

From Catglobe Wiki
Cg van (talk | contribs)
No edit summary
Cg van (talk | contribs)
No edit summary
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.''
 
''createCrossDiagram({"Q1"},{"Q11"});''


'''Availability'''  
'''Availability'''  

Revision as of 10:07, 27 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.

createCrossDiagram({"Q1"},{"Q11"});

Availability

Version 5.8.1