Vega-lite: lessThan / moreThan Filter

Created on 4 Mar 2018  路  5Comments  路  Source: vega/vega-lite

For timeUnit, we can't just use expression. Using range with null values make spec not very readable.

So I think we better support lessThan / moreThan filter.
And perhaps, lessThanOrEqual / moreThanOrEqual.

Area - Data & Transform Help Wanted

Most helpful comment

greaterThan not moreThan is the standard name for >. If you want brevity, we can use gt which is standard in many query languages. E.g.: https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-range-query.html

All 5 comments

lt, lte, gt, gte, are pretty standard. At least we should call it greater, not more.

What's wrong with "more"? (It's way shorter.)

lt, lte, gt, gte --> maybe they are okay, but less readable.

greaterThan not moreThan is the standard name for >. If you want brevity, we can use gt which is standard in many query languages. E.g.: https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-range-query.html

Let's say gt, gte, lt, lte then.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kanitw picture kanitw  路  4Comments

fuglede picture fuglede  路  4Comments

mcnuttandrew picture mcnuttandrew  路  3Comments

mcnuttandrew picture mcnuttandrew  路  3Comments

swanderz picture swanderz  路  4Comments