Difference between revisions of "SetWeight"
(jrfconvert import) |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | [[Category: | + | [[Category:Data_Cache_Functions]] |
− | + | {{HelpFiles}} | |
+ | __NOTOC__ | ||
− | + | ==== setWeight ==== | |
− | Sets the weight used | + | Sets the weight column name used for data cache. |
− | '''Syntax''' | + | '''Syntax''' |
− | setWeight('' | + | setWeight(''columnName'') |
− | '''Arguments''' | + | '''Arguments''' |
− | '' | + | ''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]]'' |