Difference between revisions of "SetWeight"

From Catglobe Wiki
Jump to: navigation, search
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
[[Category:Data_Cache_Functions]]
 
[[Category:Data_Cache_Functions]]

+
{{HelpFiles}}
 +
__NOTOC__
  
====setWeight====
+
==== setWeight ====
  
Sets the weight column name used for data cache.
+
Sets the weight column name used for data cache.  
  
'''Syntax'''
+
'''Syntax'''  
  
setWeight(''columnName'')
+
setWeight(''columnName'')  
  
'''Arguments'''
+
'''Arguments'''  
  
''columnName'': Is a string expression.
+
''columnName'': Is a string expression.  
  
'''Return type'''
+
'''Return type'''  
  
empty
+
empty  
  
'''Examples'''
+
'''Examples'''  
  
''setWeight("Q5_AO_1"); ''
+
''createCrossDiagram({"Region"},{"Q1"});''  
  
'''Availability'''
+
''[[Image:NotSetWeight.jpg]]''
  
Version 5.4
+
''setWeight("W1"); ''
__NOTOC__
+
 
<!-- imported from file: 4252.htm-->
+
''print(getWeight()); //Result: W1''
 +
 
 +
''createCrossDiagram({"Region"},{"Q1"});''
 +
 
 +
''[[Image:SetWeight.jpg]]''

Latest revision as of 03:53, 21 October 2015




setWeight

Sets the weight column name used for data cache.

Syntax

setWeight(columnName)

Arguments

columnName: Is a string expression.

Return type

empty

Examples

createCrossDiagram({"Region"},{"Q1"});

NotSetWeight.jpg

setWeight("W1");

print(getWeight()); //Result: W1

createCrossDiagram({"Region"},{"Q1"});

SetWeight.jpg