Difference between revisions of "Tabulation setTotalAnswerText"
(Tag: visualeditor-switched) |
|||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | {{HelpFiles}} | + | {{HelpFiles}} |
− | + | === 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". | + | 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''' | + | '''Syntax''' |
− | Tabulation_setTotalAnswersText(text) | + | Tabulation_setTotalAnswersText(text) |
− | '''Arguments''' | + | '''Arguments''' |
*text: is string | *text: is string | ||
− | '''Return value''' | + | '''Return value''' |
− | empty | + | empty |
− | '''Example''' | + | '''Example''' |
− | ''Tabulation_setCountAnswer(true);'' | + | ''Tabulation_setCountAnswer(true);'' |
− | ''createFrequenceDiagram("Multi"); '' | + | ''createFrequenceDiagram("Multi");'' |
− | ''//Result:'' | + | ''//Result:'' |
− | [[ | + | [[File:GetTotalAnswerText-Multi.jpg]] |
− | ''Tabulation_setTotalAnswerText("Total answers text"); '' | + | ''Tabulation_setTotalAnswerText("Total answers text");'' |
− | ''createFrequenceDiagram("Multi"); '' | + | ''createFrequenceDiagram("Multi");'' |
− | ''//Result: '' | + | ''//Result:'' |
− | [[ | + | [[File:SetTotalAnswerText.jpg]] |
− | {{note}} | + | {{note}} |
− | + | This script should be paired with script [[Tabulation setCountAnswer]]. | |
− | + | '''Availability''' | |
+ | Version 5.8.1 | ||
[[Category:Text_setting_functions]] | [[Category:Text_setting_functions]] |
Latest revision as of 08:58, 5 June 2017
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:
Tabulation_setTotalAnswerText("Total answers text");
createFrequenceDiagram("Multi");
//Result:
Note:
This script should be paired with script Tabulation setCountAnswer.
Availability
Version 5.8.1