vega-lite-api

vl.date(field, as)

A time unit operation for date.

date Method Overview

date API Reference

# date.as(value)

The output field to write the timeUnit value.

# date.equals(equal)

Logical equals (==) comparison.

# date.field(value)

The data field to apply time unit.

# date.gt(gt)

Logical greater than (>) comparison.

# date.gte(gte)

Logical greater than or equal to (>=) comparison.

# date.inRange(…range)

Logical value in range test.

# date.lt(lt)

Logical less than (<) comparison.

# date.lte(lte)

Logical less than or equal to (<=) comparison.

# date.oneOf(…oneOf)

Logical set membership test.

# date.timeUnit(value)

The timeUnit.

# date.valid(valid)

Logical valid value test.