SetSortMode

From Catglobe Wiki
Revision as of 09:47, 5 September 2017 by Nguyenduyan (talk | contribs) (Created page with "Category:Sorting_functions {{HelpFiles}} = setSortMode = Define which data should be sorted (absolute or percentage data) == Syntax == setSortMode(sortDataType); ==...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


setSortMode

Define which data should be sorted (absolute or percentage data)

Syntax

setSortMode(sortDataType);

Arguments

sortDataType: is a number expression. It's one of the constants specified below:

  • 1: Diagram_SortDataType_Absolute
  • 2: Diagram_SortDataType_Percentage

Return type

Empty

Example

DCS_use(15593723);
Tabulation_setSortOrderVertical(Tabulation_SortOrder_HighToLow);
setSortMode(Diagram_SortDataType_Percentage);
createCrossDiagram({"DD_Region"}, {"D_Gender"});

Table1.png