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"});