@@ -32,7 +32,8 @@ exports.attributes = {
32
32
values : [ 'x' , 'y' , 'z' , 'ids' ] ,
33
33
dflt : 'x' ,
34
34
description : [
35
- 'Sets the variable which the filter will be applied.'
35
+ 'Sets the variable in the parent trace object' ,
36
+ 'by which the filter will be applied.'
36
37
] . join ( ' ' )
37
38
} ,
38
39
operation : {
@@ -69,12 +70,23 @@ exports.attributes = {
69
70
dflt : 0 ,
70
71
description : [
71
72
'Sets the value or values by which to filter by.' ,
73
+
72
74
'Values are expected to be in the same type as the data linked' ,
73
75
'to *filtersrc*.' ,
74
- 'When `operation` is set to *within* and *notwithin*' ,
76
+
77
+ 'When `operation` is set to one of the inequality values' ,
78
+ '(' + INEQUALITY_OPS + ')' ,
79
+ '*value* is expected to be number or a string.' ,
80
+
81
+ 'When `operation` is set to one of the interval value' ,
82
+ '(' + INTERVAL_OPS + ')' ,
75
83
'*value* is expected to be 2-item array where the first item' ,
76
84
'is the lower bound and the second item is the upper bound.' ,
77
- 'When `operation`, is set to *in*, *notin* '
85
+
86
+ 'When `operation`, is set to one of the set value' ,
87
+ '(' + SET_OPS + ')' ,
88
+ '*value* is expected to be an array with as many items as' ,
89
+ 'the desired set elements.'
78
90
] . join ( ' ' )
79
91
}
80
92
} ;
0 commit comments