Constructor
new SpotfireShowHideItemsRules(rulesDescription)
Parameters:
Name | Type | Description |
---|---|---|
rulesDescription
|
Object | |
expression
|
String | Specifies which column the rule should be applied to. |
enabled
|
Boolean | Specifies whether or not the rule should be active in the visualization. |
type
|
SpotfireShowHideItemsRulesTypes {Enum} ▼ | Specifies which rule type to add. Which types are available depends on the data type of the column the rule is applied to. |
Enum options: top, bottom, between, equalTo, notEqualTo, greaterThan, greaterThanOrEqual, lessThan, lessThanOrEqual, booleanExpression, string | ||
hideMatchedItems
|
Boolean | Specifies whether or not all the items that match the rule should be hidden. |
evaluatePerTrellis
|
Boolean | Specifies whether or not, if the visualization is trellised, the rule should be applied once for each trellis panel. |
displayName
|
String | Specifies a descriptive name for the rule. The name is used to identify the rule in the Visualization Properties dialog, and it can be displayed in the legend of the visualization. |