Difference between revisions of "Tabulation setMergeStatisticPctItem"

From Catglobe Wiki
Jump to: navigation, search
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:Style setting functions]]
+
{{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_setMergeStatisticPctItem(''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]]

Latest revision as of 09:39, 29 March 2012



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