FilterDimensionsLogicalOperators

FilterDimensionsLogicalOperators

Copyright (c) 2019

Constructor

new FilterDimensionsLogicalOperators()

chart class

Author:
  • Elitza Vasileva
  • Bernhard Pointner
Source:

Methods

addFilterOnDimensionIndex(index, match, operator)

Adds a filter on a dimension specified by the index
Source:
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
Source:
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
Source:
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
Source:
Parameters:
Name Type Description
index

resetFilter()

Resets the filter
Source: