QScript Rules

From Q
Jump to navigation Jump to search

This feature is new in Q 4.8.

Rules

Allows manipulation of the Rule objects held by a Table object or Plot object.

add(rule)

Applies a Rule to a table or plot. This method is harmless if the rule is applied twice.
ruleThe rule to add.

list

Retrieves the Rules applied to a table or plot.
Returns:An array of Rule objects.

remove(rule)

Stops applying a Rule to a table or plot. This method is harmless if the rule is not currently applied.
ruleThe rule to remove.

type

Returns the name we use to refer to this class in the documentation.