Difference between revisions of "Tabulation setMergeStatisticPctItem"

From Catglobe Wiki
Jump to: navigation, search
Line 1: Line 1:
[[Category:Style setting functions]]
+
{{HelpFiles}}  
{{HelpFiles}}
 
  
=====Tabulation_setMergeStatisticPctItem=====
+
===== Tabulation_setMergeStatisticPctItem =====
  
When tables are being shown with both absolute and percentage columns, the statistical rows will, for an item, show the same result in both the absolute and statistical columns. When enabling this setting, the cells for these columns will be merged together, so that the result will just be shown on one shared cell for both columns.
+
When tables are being shown with both absolute and percentage columns, the statistical rows will, for an item, show the same result in both the absolute and statistical columns. When enabling this setting, the cells for these columns will be merged together, so that the result will just be shown on one shared cell for both columns.  
  
'''Syntax'''
+
'''Syntax'''  
  
Tabulation_setMergeStatisticsPctItem(''enabled'')
+
Tabulation_setMergeStatisticsPctItem(''enabled'')  
  
'''Arguments'''
+
'''Arguments'''  
  
''enabled: '' Is a boolean expression. If ''true'' then cells will be merged, if ''false'' they will not.
+
''enabled: '' Is a boolean expression. If ''true'' then cells will be merged, if ''false'' they will not.  
  
'''Return type'''
+
'''Return type'''  
  
empty
+
empty  
  
'''Examples'''
+
'''Examples'''  
  
''Tabulation_setMergeStatisticsPctItem(True);''
+
''Tabulation_setAbsText("abs");''  
  
'''Availability'''
+
''Tabulation_setPctText("%");''  
  
Version 5.8.1
+
''Tabulation_setCountAnswer(true);''
__NOTOC__
+
 
<!-- imported from file: 8140.htm-->
+
''Tabulation_setTotalAnswerText("Total sample size");''
 +
 
 +
''createCrossDiagram({"Civil_status"},{"Sex"});''
 +
 
 +
''//Result:''
 +
 
 +
[[Image:SetMergeStatisticPctItem False.jpg]]
 +
 
 +
''Tabulation_setMergeStatisticPctItem(true);''
 +
 
 +
''createCrossDiagram({"Civil_status"},{"Sex"}); ''
 +
 
 +
''//Result:''
 +
 
 +
[[Image:SetMergeStatisticPctItem.jpg]]
 +
 
 +
'''Availability'''
 +
 
 +
Version 5.8.1 __NOTOC__ <!-- imported from file: 8140.htm-->  
 +
 
 +
[[Category:Style_setting_functions]]

Revision as of 11:46, 30 December 2011



Tabulation_setMergeStatisticPctItem

When tables are being shown with both absolute and percentage columns, the statistical rows will, for an item, show the same result in both the absolute and statistical columns. When enabling this setting, the cells for these columns will be merged together, so that the result will just be shown on one shared cell for both columns.

Syntax

Tabulation_setMergeStatisticsPctItem(enabled)

Arguments

enabled: Is a boolean expression. If true then cells will be merged, if false they will not.

Return type

empty

Examples

Tabulation_setAbsText("abs");

Tabulation_setPctText("%");

Tabulation_setCountAnswer(true);

Tabulation_setTotalAnswerText("Total sample size");

createCrossDiagram({"Civil_status"},{"Sex"});

//Result:

SetMergeStatisticPctItem False.jpg

Tabulation_setMergeStatisticPctItem(true);

createCrossDiagram({"Civil_status"},{"Sex"});

//Result:

SetMergeStatisticPctItem.jpg

Availability

Version 5.8.1