Tabulation setTotalRespondentText

From Catglobe Wiki
Jump to: navigation, search



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".

SetShowTotalRespondent.jpg

Tabulation_setTotalRespondentText("Total respondents");

a = createFrequenceDiagram("Civil_status");

//Result: New text of Total respondent row is "Total respondents".

SetTotalRespondentText.jpg

Note Note: This function should be paired with function Tabulation_setShowTotalRespondents.

Availability

Version 5.8.1