Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

SetWeight: Difference between revisions

From Catglobe Wiki
jrfconvert import
 
Tungocman (talk | contribs)
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:HelpBooks]]
[[Category:Data_Cache_Functions]]

{{HelpFiles}}
__NOTOC__


=====setWeight=====
==== setWeight ====


Sets the weight used in calculating the diagram's value.
Sets the weight column name used for data cache.  


'''Syntax'''
'''Syntax'''  


setWeight(''weightColumnName'')
setWeight(''columnName'')  


'''Arguments'''
'''Arguments'''  


''weightColumnName:'' Is a string expression. It is name of a numeric DCS column, that could be used as a weight in calculating
''columnName'': Is a string expression.  


'''Return type'''
'''Return type'''  


empty
empty  


'''Examples'''
'''Examples'''  


''setWeight(''"DanishPopulationWeight"'');''
''createCrossDiagram({"Region"},{"Q1"});''  


'''Availability'''
''[[Image:NotSetWeight.jpg]]''


Version 5.5
''setWeight("W1"); ''
__NOTOC__
 
<!-- imported from file: 5203.htm-->
''print(getWeight()); //Result: W1''
 
''createCrossDiagram({"Region"},{"Q1"});''
 
''[[Image:SetWeight.jpg]]''

Latest revision as of 02: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"});

setWeight("W1");

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

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