Tabulation setTotalRespondentText
Tabulation_setTotalRespondentText
Set the text for the total respondent row, which is one of the statistical rows that can be shown for tables. If this function is not used then the label for the row will just be the default value "Total sample size".
Syntax
Tabulation_setTotalRespondentText(text)
Arguments
text: is string
Return value
empty
Example
setShowMode(Diagram_ShowModeType_Absolute);
Tabulation_setShowTotalRespondent(true);
number a = createFrequenceDiagram("Civil_status");
//Result: Text of Total respondent row is "Total sample size".
Tabulation_setTotalRespondentText("Total respondents");
a = createFrequenceDiagram("Civil_status");
//Result: New text of Total respondent row is "Total respondents".
Note: This function should be paired with function Tabulation_setShowTotalRespondents.
Availability
Version 5.8.1