Difference between revisions of "Tabulation setTotalAnswerText"

From Catglobe Wiki
Jump to: navigation, search
(Tag: visualeditor-switched)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{HelpFiles}}  
+
{{HelpFiles}}
  
===== Tabulation_setTotalAnswerText =====
+
=== 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:''
[[Image:GetTotalAnswerText-Multi.jpg]]
 
  
''Tabulation_setTotalAnswerText("Total answers text"); ''
+
[[File:GetTotalAnswerText-Multi.jpg]]
  
''createFrequenceDiagram("Multi"); ''  
+
''Tabulation_setTotalAnswerText("Total answers text");''
  
//Result:
+
''createFrequenceDiagram("Multi");''
  
[[Image:SetTotalAnswerText.jpg]]
+
''//Result:''
 +
 
 +
[[File:SetTotalAnswerText.jpg]]
  
{{note}}This script should be paired with script "Tabulation_setCountAnswer".
+
{{note}}
  
'''Availability'''
+
This script should be paired with script [[Tabulation setCountAnswer]].
  
Version 5.8.1 __NOTOC__ <!-- imported from file: 8144.htm-->
+
'''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:

GetTotalAnswerText-Multi.jpg

Tabulation_setTotalAnswerText("Total answers text");

createFrequenceDiagram("Multi");

//Result:

SetTotalAnswerText.jpg

Note Note:

This script should be paired with script Tabulation setCountAnswer.

Availability

Version 5.8.1