Difference between revisions of "SetWeight"
(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''' |
− | '' | + | ''createCrossDiagram({"Region"},{"Q1"});'' |
− | '' | + | ''[[Image:NotSetWeight.jpg]]'' |
− | + | ''setWeight("W1"); '' | |
− | + | ||
− | + | ''print(getWeight()); //Result: W1'' | |
+ | |||
+ | ''createCrossDiagram({"Region"},{"Q1"});'' | ||
+ | |||
+ | ''[[Image:SetWeight.jpg]]'' |