SetWeight

From Catglobe Wiki
Revision as of 03:53, 21 October 2015 by Tungocman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search




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