filter method
- String expression
Keeps only the rows an expression accepts.
expression A Vega expression over the row's columns.
Returns This chart, so calls chain.
Implementation
VlChart filter(String expression) {
VlJson t = VlJson.objectValue();
t.setMember("filter", VlJson.stringValue(expression));
this.transforms.arr.add(t);
return this;
}