Difference between revisions of "Tabulation setExcludedSortOrderVertical"

From Catglobe Wiki
Jump to: navigation, search
(Examples)
(Tag: visualeditor)
(Syntax)
 
(5 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
=== Syntax ===
 
=== Syntax ===
  
Tabulation_setExcludedSortOrderHorizontal(axisArray);
+
Tabulation_setExcludedSortOrderVertical(axisArray);
  
 
=== Arguments ===
 
=== Arguments ===
Line 16: Line 16:
 
=== Examples ===
 
=== Examples ===
  
<source lang="javascript">
+
DCS_use(15560370);<br />
DCS_use(15560370);
+
Tabulation_setExcludedSortOrderVertical({"Viet Nam","Don't know"});<br />
Tabulation_setExcludedSortOrderVertical({"Viet Nam","Don't know"});
+
Tabulation_setSortOrderVertical(Tabulation_SortOrder_LowToHigh);<br />createCrossDiagram({"Q1_Single"},{});<br />//result:<br />
Tabulation_setSortOrderVertical(Tabulation_SortOrder_LowToHigh);
+
[[File:Tb_SetExcludedVertical.jpg]]
 
 
createCrossDiagram({"Q1_Single"},{});
 
//result:  
 
[[File: http://wiki.catglobe.com/images/2/2a/Tb_SetExcludedVertical.jpg]]
 
</source>
 
 
[[Category:Sorting_functions]]
 
[[Category:Sorting_functions]]

Latest revision as of 10:57, 30 May 2017

Tabulation_setExcludedSortOrderVertical

Exclude some axis options from the the vertical sorting

Syntax

Tabulation_setExcludedSortOrderVertical(axisArray);

Arguments

axisArray: an array which contains some axis options that will be excluded from the the vertical sorting

Return type

empty

Examples

DCS_use(15560370);
Tabulation_setExcludedSortOrderVertical({"Viet Nam","Don't know"});
Tabulation_setSortOrderVertical(Tabulation_SortOrder_LowToHigh);
createCrossDiagram({"Q1_Single"},{});
//result:
Tb SetExcludedVertical.jpg