Tabulation setTotalAnswerText

From Catglobe Wiki
Revision as of 10:47, 24 October 2013 by Cg pham (talk | contribs)
Jump to: navigation, search



Tabulation_setTotalAnswerText

Set the text for the total answers 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 answers".

Syntax

Tabulation_setTotalAnswersText(text)

Arguments

  • text: is string

Return value

empty

Example

Tabulation_setCountAnswer(true);

createFrequenceDiagram("Multi");

//Result:

<img src="/images/5/51/GetTotalAnswerText-Multi.jpg" _fck_mw_filename="GetTotalAnswerText-Multi.jpg" alt="" />

Tabulation_setTotalAnswerText("Total answers text");

createFrequenceDiagram("Multi");

//Result:

<img src="/images/3/36/SetTotalAnswerText.jpg" _fck_mw_filename="SetTotalAnswerText.jpg" alt="" />

Note Note: This script should be paired with script "Tabulation_setCountAnswer".

Availability

Version 5.8.1 _