Difference between revisions of "Tabulation setMergeStatisticPctItem"

From Catglobe Wiki
Jump to: navigation, search
(Created page with '*Tabulation_setMergeStatisticPctItem(false)<br> Image:Tabulation_setMergeStatisticPctItem(false).png *Tabulation_setMergeStatisticPctItem(true)<br> [[Image:Tabulation_se…')
 
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
*Tabulation_setMergeStatisticPctItem(false)<br>
+
{{HelpFiles}}
  
[[Image:Tabulation_setMergeStatisticPctItem(false).png]]
+
===== 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(true)<br>
+
Tabulation_setMergeStatisticPctItem(''enabled'')  
  
[[Image:Tabulation_setMergeStatisticPctItem(true).png]]<br>
+
'''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:''
 +
 
 +
[[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 08: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