vega-lite-api

vl.timeYM(field, as)

A time unit operation for yearmonth.

timeYM Method Overview

timeYM API Reference

# timeYM.as(value)

The output field to write the timeUnit value.

# timeYM.equals(equal)

Logical equals (==) comparison.

# timeYM.field(value)

The data field to apply time unit.

# timeYM.gt(gt)

Logical greater than (>) comparison.

# timeYM.gte(gte)

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

# timeYM.inRange(…range)

Logical value in range test.

# timeYM.lt(lt)

Logical less than (<) comparison.

# timeYM.lte(lte)

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

# timeYM.oneOf(…oneOf)

Logical set membership test.

# timeYM.timeUnit(value)

The timeUnit.

# timeYM.valid(valid)

Logical valid value test.