Difference between revisions of "Tabulation setTotalAnswerText"

From Catglobe Wiki
Jump to: navigation, search
(Tag: visualeditor-switched)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:Text setting functions]]
 
 
{{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".
Line 12: Line 11:
 
'''Arguments'''
 
'''Arguments'''
  
* text: is string
+
*text: is string
  
 
'''Return value'''
 
'''Return value'''
Line 20: Line 19:
 
'''Example'''
 
'''Example'''
  
Tabulation_setTotalAnswersText("Total answers text");
+
''Tabulation_setCountAnswer(true);''
  
number a = createFrequenceDiagram("Multi");
+
''createFrequenceDiagram("Multi");''
 +
 
 +
''//Result:''
 +
 
 +
[[File:GetTotalAnswerText-Multi.jpg]]
 +
 
 +
''Tabulation_setTotalAnswerText("Total answers text");''
 +
 
 +
''createFrequenceDiagram("Multi");''
 +
 
 +
''//Result:''
 +
 
 +
[[File:SetTotalAnswerText.jpg]]
 +
 
 +
{{note}}
 +
 
 +
This script should be paired with script [[Tabulation setCountAnswer]].
  
 
'''Availability'''
 
'''Availability'''
  
 
Version 5.8.1
 
Version 5.8.1
__NOTOC__
+
[[Category:Text_setting_functions]]
<!-- imported from file: 8144.htm-->
 

Latest revision as of 09: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