Tabulation setSortVerticalWhichColumn
Revision as of 04:41, 12 July 2017 by Nguyenduyan (talk | contribs)
Contents
Tabulation_setSortVerticalWhichColumn
Define which column should be sort.
Use combine with
Tabulation_setSortOrderVertical(Tabulation_SortOrder_LowToHigh);
or
Tabulation_setSortOrderVertical(Tabulation_SortOrder_HighToLow);
Syntax
Tabulation_setSortVerticalWhichColumn( column);
Arguments
column: is a number expression. It's the column you want to sort (start with 0)
Return type
empty
Example
DCS_use(15569074);
Tabulation_setSortOrderVertical(Tabulation_SortOrder_LowToHigh);
Tabulation_setSortVerticalWhichColumn(1);
createCrossDiagram({"Q2"}, {"Panel_Age"});
Before set sort vertical low to high which column 1
After set sort vertical low to high which column 1
// Example for vertical sort on double mode
DCS_use(15569074);
Tabulation_setSortOrderVertical(Tabulation_SortOrder_HighToLow);
Tabulation_setSortVerticalWhichColumn(1);
createCrossDiagram({"Panel_Age","Panel_Gender"},{"Q2"});