Difference between revisions of "Tabulation setExcludedSortOrderVertical"

From Catglobe Wiki
Jump to: navigation, search
(Tag: visualeditor-switched)
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/>
Tabulation_setSortOrderVertical(Tabulation_SortOrder_LowToHigh);
 
  
createCrossDiagram({"Q1_Single"},{});
+
createCrossDiagram({"Q1_Single"},{});<br/>
//result:
 
  
</source>
+
//result:<br/>
 +
[[File:Tb_SetExcludedVertical.jpg]]
 
[[Category:Sorting_functions]]
 
[[Category:Sorting_functions]]

Revision as of 10:54, 30 May 2017

Tabulation_setExcludedSortOrderVertical

Exclude some axis options from the the vertical sorting

Syntax

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