Constructor
new FilterDimensionsLogicalOperators()
chart class
Methods
addFilterOnDimensionIndex(index, match, operator)
Adds a filter on a dimension specified by the index
Parameters:
Name | Type | Description |
---|---|---|
index |
||
match |
||
operator |
the operator to be applied |
evaluateExpression(expression) → {boolean}
Own method for evaluating an expression containing only the operators AND, OR or NOT
Parameters:
Name | Type | Description |
---|---|---|
expression |
the expression to be evaluated |
Returns:
- Type:
-
boolean
evaluateRow(row, i) → {boolean}
Evaluates the expression result of a single row
Parameters:
Name | Type | Description |
---|---|---|
row |
the row to be evaluated | |
i |
the index |
Returns:
- Type:
-
boolean
removeFilterOnDimensionIndex(index)
Remove a filter on a specific dimension
Parameters:
Name | Type | Description |
---|---|---|
index |