SetWeight

From Catglobe Wiki
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