GetSortMode
getSortMode
Get sort mode to see whether the table is sorted by absolute or percentage
Syntax
getSortMode();
Arguments
None
Return type
Number. This is sort constant, which:
1: Diagram_SortDataType_Absolute 2: Diagram_SortDataType_Percentage
Example
DCS_use(15593723);
Tabulation_setSortOrderVertical(Tabulation_SortOrder_HighToLow);
setSortMode(Diagram_SortDataType_Percentage);
createCrossDiagram({"DD_Region"}, {"D_Gender"});
print(getSortMode());//2