Difference between revisions of "Tabulation setTotalText"

From Catglobe Wiki
Jump to: navigation, search
 
Line 1: Line 1:
 
{{HelpFiles}}  
 
{{HelpFiles}}  
  
===== Tabulation_setTotalText =====
+
===== Tabulation_setTotalText =====
  
 
Set the text for the total 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".  
 
Set the text for the total 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".  
Line 19: Line 19:
 
'''Example'''  
 
'''Example'''  
  
''number a = createFrequenceDiagram("Civil_status"); ''
+
''number a = createFrequenceDiagram("Civil_status"); ''  
  
''//Result: Text of Total row is "Total". (default)''
+
''//Result: Text of Total row is "Total". (default)''  
  
''Tabulation_setTotalText("Total text");''
+
''Tabulation_setTotalText("Total text");''  
  
''a = createFrequenceDiagram("Civil_status"); ''
+
''a = createFrequenceDiagram("Civil_status"); ''  
  
''//Result: New text of Total row is "Total text".''
+
''//Result: New text of Total row is "Total text".''  
  
''{{note}} Chart type has to be Table''
+
''{{note}} Chart type has to be Table.''  
  
 
'''Availability'''  
 
'''Availability'''  

Latest revision as of 12:08, 29 December 2011



Tabulation_setTotalText

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

Syntax

Tabulation_setTotalText(text)

Arguments

  • text: is string

Return value

empty

Example

number a = createFrequenceDiagram("Civil_status");

//Result: Text of Total row is "Total". (default)

Tabulation_setTotalText("Total text");

a = createFrequenceDiagram("Civil_status");

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

Note Note: Chart type has to be Table.

Availability

Version 5.7